@agenticmail/core 0.5.18 → 0.5.19
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/dist/index.js +22 -11
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6229,18 +6229,18 @@ var DependencyInstaller = class {
|
|
|
6229
6229
|
} catch {
|
|
6230
6230
|
}
|
|
6231
6231
|
const installBin = join6(appPath, "Contents", "MacOS", "install");
|
|
6232
|
-
if (existsSync4(installBin)) {
|
|
6233
|
-
this.onProgress("__progress__:30:Setting up CLI tools...");
|
|
6234
|
-
const user = process.env.USER || execSync("whoami", { timeout: 5e3 }).toString().trim();
|
|
6235
|
-
try {
|
|
6236
|
-
execSync(`"${installBin}" --accept-license --user=${user}`, {
|
|
6237
|
-
timeout: 12e4,
|
|
6238
|
-
stdio: "ignore"
|
|
6239
|
-
});
|
|
6240
|
-
} catch {
|
|
6241
|
-
}
|
|
6242
|
-
}
|
|
6243
6232
|
if (wasAlreadyRunning) {
|
|
6233
|
+
if (existsSync4(installBin)) {
|
|
6234
|
+
this.onProgress("__progress__:30:Setting up CLI tools...");
|
|
6235
|
+
const user = process.env.USER || execSync("whoami", { timeout: 5e3 }).toString().trim();
|
|
6236
|
+
try {
|
|
6237
|
+
execSync(`"${installBin}" --accept-license --user=${user}`, {
|
|
6238
|
+
timeout: 12e4,
|
|
6239
|
+
stdio: "ignore"
|
|
6240
|
+
});
|
|
6241
|
+
} catch {
|
|
6242
|
+
}
|
|
6243
|
+
}
|
|
6244
6244
|
this.onProgress("__progress__:100:Engine is ready!");
|
|
6245
6245
|
this.hideDockerWindow();
|
|
6246
6246
|
this.configureDockerHeadless();
|
|
@@ -6253,6 +6253,17 @@ var DependencyInstaller = class {
|
|
|
6253
6253
|
} catch {
|
|
6254
6254
|
}
|
|
6255
6255
|
await this.waitForDocker();
|
|
6256
|
+
if (existsSync4(installBin)) {
|
|
6257
|
+
this.onProgress("Setting up CLI tools...");
|
|
6258
|
+
const user = process.env.USER || execSync("whoami", { timeout: 5e3 }).toString().trim();
|
|
6259
|
+
try {
|
|
6260
|
+
execSync(`"${installBin}" --accept-license --user=${user}`, {
|
|
6261
|
+
timeout: 12e4,
|
|
6262
|
+
stdio: "ignore"
|
|
6263
|
+
});
|
|
6264
|
+
} catch {
|
|
6265
|
+
}
|
|
6266
|
+
}
|
|
6256
6267
|
this._firstLaunchMode = false;
|
|
6257
6268
|
this.configureDockerHeadless();
|
|
6258
6269
|
this.hideDockerWindow();
|