mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-19 13:10:16 +08:00
fix: typo
This commit is contained in:
parent
14012a4668
commit
34c9254d4a
@ -24,7 +24,7 @@ export async function rebootWithNormolLogin() {
|
|||||||
let batUtf8Script = resolve(__dirname, './napcat-utf8.bat');
|
let batUtf8Script = resolve(__dirname, './napcat-utf8.bat');
|
||||||
let bashScript = resolve(__dirname, './napcat.sh');
|
let bashScript = resolve(__dirname, './napcat.sh');
|
||||||
if (process.platform === 'win32') {
|
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();
|
subProcess.unref();
|
||||||
// 子父进程一起送走 有点效果
|
// 子父进程一起送走 有点效果
|
||||||
spawn('cmd /c taskkill /t /f /pid ' + pid.toString(), { detached: true, shell: true, stdio: 'ignore' });
|
spawn('cmd /c taskkill /t /f /pid ' + pid.toString(), { detached: true, shell: true, stdio: 'ignore' });
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user