ee-core 2.9.0 → 2.9.2-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cross/spawnProcess.js +6 -2
- package/ee/eeApp.js +2 -1
- package/package.json +1 -1
package/cross/spawnProcess.js
CHANGED
|
@@ -58,9 +58,13 @@ class SpawnProcess {
|
|
|
58
58
|
cmdPath = path.join(Ps.getExtraResourcesDir(), targetConf.name);
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
//
|
|
61
|
+
// windows
|
|
62
62
|
if (UtilsIs.windows() && path.extname(cmdPath) != '.exe') {
|
|
63
|
-
|
|
63
|
+
// Complete the executable program extension
|
|
64
|
+
// notice: python.exe may bring up the App Store
|
|
65
|
+
if (targetConf.windowsExtname === true || !Ps.isDev()) {
|
|
66
|
+
cmdPath += ".exe";
|
|
67
|
+
}
|
|
64
68
|
}
|
|
65
69
|
|
|
66
70
|
// executable program directory
|
package/ee/eeApp.js
CHANGED
|
@@ -153,10 +153,11 @@ class EeApp extends BaseApp {
|
|
|
153
153
|
}
|
|
154
154
|
this._loadingPage(lp);
|
|
155
155
|
|
|
156
|
+
const retryTimes = modeInfo.force === true ? 3 : 60;
|
|
156
157
|
let count = 0;
|
|
157
158
|
let frontendReady = false;
|
|
158
159
|
const hc = new HttpClient();
|
|
159
|
-
while(!frontendReady && count <
|
|
160
|
+
while(!frontendReady && count < retryTimes){
|
|
160
161
|
await UtilsHelper.sleep(1 * 1000);
|
|
161
162
|
try {
|
|
162
163
|
await hc.request(url, {
|