From 34c9254d4a838462eb699334f97cada3e2fc8fe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Mon, 13 May 2024 16:39:24 +0800 Subject: [PATCH] fix: typo --- src/common/utils/reboot.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/utils/reboot.ts b/src/common/utils/reboot.ts index f6db9dc0..02b714e5 100644 --- a/src/common/utils/reboot.ts +++ b/src/common/utils/reboot.ts @@ -24,7 +24,7 @@ export async function rebootWithNormolLogin() { let batUtf8Script = resolve(__dirname, './napcat-utf8.bat'); let bashScript = resolve(__dirname, './napcat.sh'); if (process.platform === 'win32') { - const subProcess = spawn(`start ${batUtf8Script} -q ${uin}`, { detached: true, windowsHide: false, env: process.env, shell: true, stdio: 'ignore' }); + const subProcess = spawn(`start ${batUtf8Script} `, { detached: true, windowsHide: false, env: process.env, shell: true, stdio: 'ignore' }); subProcess.unref(); // 子父进程一起送走 有点效果 spawn('cmd /c taskkill /t /f /pid ' + pid.toString(), { detached: true, shell: true, stdio: 'ignore' });