@agenticmail/core 0.5.17 → 0.5.18
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 +7 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6222,6 +6222,12 @@ var DependencyInstaller = class {
|
|
|
6222
6222
|
* then starts Docker Desktop hidden (no GUI window).
|
|
6223
6223
|
*/
|
|
6224
6224
|
async setupExistingDockerApp(appPath) {
|
|
6225
|
+
let wasAlreadyRunning = false;
|
|
6226
|
+
try {
|
|
6227
|
+
execFileSync2("docker", ["info"], { timeout: 5e3, stdio: "ignore" });
|
|
6228
|
+
wasAlreadyRunning = true;
|
|
6229
|
+
} catch {
|
|
6230
|
+
}
|
|
6225
6231
|
const installBin = join6(appPath, "Contents", "MacOS", "install");
|
|
6226
6232
|
if (existsSync4(installBin)) {
|
|
6227
6233
|
this.onProgress("__progress__:30:Setting up CLI tools...");
|
|
@@ -6234,13 +6240,7 @@ var DependencyInstaller = class {
|
|
|
6234
6240
|
} catch {
|
|
6235
6241
|
}
|
|
6236
6242
|
}
|
|
6237
|
-
|
|
6238
|
-
try {
|
|
6239
|
-
execFileSync2("docker", ["info"], { timeout: 5e3, stdio: "ignore" });
|
|
6240
|
-
alreadyRunning = true;
|
|
6241
|
-
} catch {
|
|
6242
|
-
}
|
|
6243
|
-
if (alreadyRunning) {
|
|
6243
|
+
if (wasAlreadyRunning) {
|
|
6244
6244
|
this.onProgress("__progress__:100:Engine is ready!");
|
|
6245
6245
|
this.hideDockerWindow();
|
|
6246
6246
|
this.configureDockerHeadless();
|