Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Windows: the desktop app installer's image tools also start hidden

milind-soni2c4efabab935
diff --git a/electron/app-install/ipc.mjs b/electron/app-install/ipc.mjs
index 5bc851854b..11d9ba5fd8 100644
--- a/electron/app-install/ipc.mjs
+++ b/electron/app-install/ipc.mjs
@@ -41,7 +41,7 @@ export function createDesktopAppInstaller({ app, shell, nativeImage, env, platfo
fs: fs.promises,
shell,
run: (file, args) => new Promise((resolve) => {
- execFile(file, args, { timeout: 20_000 }, (error, stdout) => resolve({ code: error ? (typeof error.code === "number" ? error.code : 1) : 0, stdout: String(stdout ?? "") }));
+ execFile(file, args, { timeout: 20_000, windowsHide: true }, (error, stdout) => resolve({ code: error ? (typeof error.code === "number" ? error.code : 1) : 0, stdout: String(stdout ?? "") }));
}),
resizePng: (png, side) => {
const image = nativeImage.createFromBuffer(Buffer.from(png));