fix: 移除Windows控制台配置并修改后端进程stdio设置
This commit is contained in:
@@ -19,8 +19,7 @@
|
||||
"win": {
|
||||
"target": "nsis",
|
||||
"icon": "frontend/public/favicon.ico",
|
||||
"requestedExecutionLevel": "asInvoker",
|
||||
"console": false
|
||||
"requestedExecutionLevel": "asInvoker"
|
||||
},
|
||||
"nsis": {
|
||||
"oneClick": false,
|
||||
|
||||
@@ -124,7 +124,7 @@ async function startBackend() {
|
||||
...process.env,
|
||||
NODE_ENV: process.env.NODE_ENV || 'production',
|
||||
},
|
||||
stdio: 'inherit',
|
||||
stdio: 'pipe',
|
||||
});
|
||||
|
||||
backendProcess.on('error', (error) => {
|
||||
|
||||
Reference in New Issue
Block a user