fix: no longer require admin when running after initialization

This commit is contained in:
Wesley F. Young
2024-08-13 16:09:15 +08:00
parent df804c17ab
commit d402467ad2
3 changed files with 100 additions and 0 deletions

10
script/BootWay05_run.bat Normal file
View File

@@ -0,0 +1,10 @@
@echo off
set /p QQPath=<qq_path_cache.txt
echo QQ path %QQPath% has been read from qq_path_cache.txt
echo If failed to start QQ, please try running this script in administrator mode.
set NAPCAT_PATH=%cd%\loadScript.js
REM Launch QQ.exe with params provided
"%QQPath%" --enable-logging %*