From d66ab7d389bcd1c52bf907d9242babd67772b631 Mon Sep 17 00:00:00 2001 From: linyuchen Date: Mon, 15 Apr 2024 01:38:46 +0800 Subject: [PATCH] chore: start bat --- script/napcat-custom.bat | 3 +++ script/napcat.bat | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 script/napcat-custom.bat diff --git a/script/napcat-custom.bat b/script/napcat-custom.bat new file mode 100644 index 00000000..a8e6f5ea --- /dev/null +++ b/script/napcat-custom.bat @@ -0,0 +1,3 @@ +chcp 65001 +set ELECTRON_RUN_AS_NODE=1 +"H:\Program Files\QQNT最新版\QQ.exe" %~dp0/napcat.cjs %* diff --git a/script/napcat.bat b/script/napcat.bat index db48c2af..dfb3e888 100644 --- a/script/napcat.bat +++ b/script/napcat.bat @@ -18,5 +18,5 @@ for %%a in ("!RetString!") do ( set "QQPath=!pathWithoutUninstall!QQ.exe" set ELECTRON_RUN_AS_NODE=1 -echo !QQPath! -!QQPath! ./napcat.cjs \ No newline at end of file +echo "!QQPath!" +"!QQPath!" %~dp0/napcat.cjs %*