mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 11:26:07 +00:00
Update start.cmd
This commit is contained in:
parent
59f043d69b
commit
1dfeee9fd7
@ -75,7 +75,7 @@ for /f "tokens=2*" %%a in ('reg query "HKCU\Software\Microsoft\Windows\CurrentVe
|
|||||||
@rem TODO: External proxy when ORIG_PROXY_ENABLE == 0x1
|
@rem TODO: External proxy when ORIG_PROXY_ENABLE == 0x1
|
||||||
echo set ws = createobject("wscript.shell") > "%temp%\proxy.vbs"
|
echo set ws = createobject("wscript.shell") > "%temp%\proxy.vbs"
|
||||||
echo ws.currentdirectory = "%MITMDUMP_PATH%" >> "%temp%\proxy.vbs"
|
echo ws.currentdirectory = "%MITMDUMP_PATH%" >> "%temp%\proxy.vbs"
|
||||||
echo ws.run "cmd /c mitmdump.exe -s "^&chr(34)^&"%PROXY_SCRIPT_NAME%"^&chr(34)^&" -k --allow-hosts \".*\.yuanshen\.com|.*\.mihoyo\.com|.*\.hoyoverse\.com\"",0 >> "%temp%\proxy.vbs"
|
echo ws.run "cmd /c mitmdump.exe -s "^&chr(34)^&"%PROXY_SCRIPT_NAME%"^&chr(34)^&" -k --allow-hosts ^&chr(34)^&.*\.yuanshen\.com|.*\.mihoyo\.com|.*\.hoyoverse\.com^&chr(34)^&",0 >> "%temp%\proxy.vbs"
|
||||||
"%temp%\proxy.vbs"
|
"%temp%\proxy.vbs"
|
||||||
del /f /q "%temp%\proxy.vbs" >nul 2>nul
|
del /f /q "%temp%\proxy.vbs" >nul 2>nul
|
||||||
|
|
||||||
@ -157,4 +157,4 @@ call :LOG [INFO] See you again :)
|
|||||||
goto :EOF
|
goto :EOF
|
||||||
|
|
||||||
:LOG
|
:LOG
|
||||||
echo [%time:~0,8%] %*
|
echo [%time:~0,8%] %*
|
||||||
|
Loading…
Reference in New Issue
Block a user