fix: hide console window for export task on Windows

This commit is contained in:
sudipnext 2026-04-14 11:07:43 +05:45
parent 98cc548984
commit 6f58e3fcdd

View file

@ -63,6 +63,7 @@ export function setupExportHandlers() {
const exportTaskProcess = spawn(process.execPath, [exportScriptPath, exportTaskPath], {
stdio: ["ignore", "pipe", "pipe"],
cwd: baseDir,
windowsHide: process.platform === "win32",
env: {
...process.env,
ELECTRON_RUN_AS_NODE: "1",