Merge pull request #521 from presenton/fix/export-popup
fix: hide console window for export task on Windows
This commit is contained in:
commit
5ee81a2a66
1 changed files with 1 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue