Merge pull request #521 from presenton/fix/export-popup

fix: hide console window for export task on Windows
This commit is contained in:
Sudip Parajuli 2026-04-16 20:21:37 +05:45 committed by GitHub
commit 5ee81a2a66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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",