fix: 移除Windows控制台配置并修改后端进程stdio设置

This commit is contained in:
dmy
2026-01-15 02:19:38 +08:00
parent 70f0498c44
commit 20619bb87b
2 changed files with 2 additions and 3 deletions

View File

@@ -19,8 +19,7 @@
"win": {
"target": "nsis",
"icon": "frontend/public/favicon.ico",
"requestedExecutionLevel": "asInvoker",
"console": false
"requestedExecutionLevel": "asInvoker"
},
"nsis": {
"oneClick": false,

View File

@@ -124,7 +124,7 @@ async function startBackend() {
...process.env,
NODE_ENV: process.env.NODE_ENV || 'production',
},
stdio: 'inherit',
stdio: 'pipe',
});
backendProcess.on('error', (error) => {