mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-10 04:12:54 +08:00
Fix proxy daemon can't find script
Signed-off-by: Jaida Wu <mlgmxyysd@meowcat.org>
This commit is contained in:
parent
a957379afb
commit
1c3df04f45
@ -77,7 +77,7 @@ echo set ws = createobject("wscript.shell") > "%temp%\proxy.vbs"
|
|||||||
if not "%MITMDUMP_PATH%" == "" (
|
if not "%MITMDUMP_PATH%" == "" (
|
||||||
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",0 >> "%temp%\proxy.vbs"
|
echo ws.run "cmd /c mitmdump.exe -s "^&chr(34)^&"%CUR_PATH%%PROXY_SCRIPT_NAME%"^&chr(34)^&" -k",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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user