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 %*