diff --git a/launcher/launcher-win10.bat b/launcher/launcher-win10.bat index b8d462b7..c70be0a2 100644 --- a/launcher/launcher-win10.bat +++ b/launcher/launcher-win10.bat @@ -5,7 +5,7 @@ if %errorLevel% == 0 ( echo Administrator mode detected. ) else ( echo Please run this script in administrator mode. - powershell -Command "Start-Process 'cmd.exe' -ArgumentList '/c cd /d \"%cd%\" && \"%~f0\"' -Verb runAs" + powershell -Command "Start-Process 'cmd.exe' -ArgumentList '/c cd /d \"%cd%\" && \"%~f0\" %1' -Verb runAs" exit ) @@ -35,6 +35,6 @@ if not exist "%QQpath%" ( set NAPCAT_MAIN_PATH=%NAPCAT_MAIN_PATH:\=/% echo (async () =^> {await import("file:///%NAPCAT_MAIN_PATH%")})() > %NAPCAT_LOAD_PATH% -"%NAPCAT_LAUNCHER_PATH%" "%QQPath%" "%NAPCAT_INJECT_PATH%" +"%NAPCAT_LAUNCHER_PATH%" "%QQPath%" "%NAPCAT_INJECT_PATH%" %1 REM "%NAPCAT_LAUNCHER_PATH%" "%QQPath%" "%NAPCAT_INJECT_PATH%" 123456 \ No newline at end of file diff --git a/launcher/launcher.bat b/launcher/launcher.bat index d3124507..370bd1b1 100644 --- a/launcher/launcher.bat +++ b/launcher/launcher.bat @@ -5,7 +5,7 @@ if %errorLevel% == 0 ( echo Administrator mode detected. ) else ( echo Please run this script in administrator mode. - powershell -Command "Start-Process 'wt.exe' -ArgumentList 'cmd /c cd /d \"%cd%\" && \"%~f0\"' -Verb runAs" + powershell -Command "Start-Process 'wt.exe' -ArgumentList 'cmd /c cd /d \"%cd%\" && \"%~f0\" %1' -Verb runAs" exit ) @@ -36,6 +36,4 @@ if not exist "%QQpath%" ( set NAPCAT_MAIN_PATH=%NAPCAT_MAIN_PATH:\=/% echo (async () =^> {await import("file:///%NAPCAT_MAIN_PATH%")})() > %NAPCAT_LOAD_PATH% -"%NAPCAT_LAUNCHER_PATH%" "%QQPath%" "%NAPCAT_INJECT_PATH%" - -REM "%NAPCAT_LAUNCHER_PATH%" "%QQPath%" "%NAPCAT_INJECT_PATH%" 123456 \ No newline at end of file +"%NAPCAT_LAUNCHER_PATH%" "%QQPath%" "%NAPCAT_INJECT_PATH%" %1 \ No newline at end of file diff --git a/launcher/quickLoginExample.bat b/launcher/quickLoginExample.bat new file mode 100644 index 00000000..0d1f9008 --- /dev/null +++ b/launcher/quickLoginExample.bat @@ -0,0 +1,4 @@ +@echo off +REM ./launcher.bat 123456 +REM ./launcher-win10.bat 123456 +REM 带有REM的为注释 删掉你需要的系统的那行REM这三个单词 修改QQ本脚本启动即可 \ No newline at end of file