From 20619bb87b40ed6efeef1e949f309f35531c2e0a Mon Sep 17 00:00:00 2001 From: dmy Date: Thu, 15 Jan 2026 02:19:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4Windows=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E5=8F=B0=E9=85=8D=E7=BD=AE=E5=B9=B6=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=90=8E=E7=AB=AF=E8=BF=9B=E7=A8=8Bstdio=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/electron-builder.json | 3 +-- app/main.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/electron-builder.json b/app/electron-builder.json index 8fcf940..183a09d 100644 --- a/app/electron-builder.json +++ b/app/electron-builder.json @@ -19,8 +19,7 @@ "win": { "target": "nsis", "icon": "frontend/public/favicon.ico", - "requestedExecutionLevel": "asInvoker", - "console": false + "requestedExecutionLevel": "asInvoker" }, "nsis": { "oneClick": false, diff --git a/app/main.js b/app/main.js index f1b71bb..ab47d7c 100644 --- a/app/main.js +++ b/app/main.js @@ -124,7 +124,7 @@ async function startBackend() { ...process.env, NODE_ENV: process.env.NODE_ENV || 'production', }, - stdio: 'inherit', + stdio: 'pipe', }); backendProcess.on('error', (error) => {