mirror of
https://github.com/Grasscutters/GrassClipper.git
synced 2024-11-16 04:45:34 +00:00
start proxy server properly
This commit is contained in:
parent
baceadf8cc
commit
92f1083b88
@ -1,16 +0,0 @@
|
||||
@echo off
|
||||
|
||||
echo Starting Proxy Server
|
||||
|
||||
SET ip=%1
|
||||
SET gamePath=%2
|
||||
SET gamePath=%gamePath:"=%
|
||||
|
||||
start "Proxy Server" ./ext/mitmdump.exe -s "./proxy/proxy.py" --ssl-insecure --set ip=%ip%
|
||||
|
||||
:: Allow the proxy to start
|
||||
ping 192.0.2.2 -n 1 -w 5000 > nul
|
||||
|
||||
echo Opening %gamePath%/Genshin Impact Game/GenshinImpact.exe
|
||||
|
||||
start "" /b "%gamePath%/Genshin Impact Game/GenshinImpact.exe"
|
Loading…
Reference in New Issue
Block a user