start proxy server properly

This commit is contained in:
SpikeHD 2022-04-19 19:46:05 -07:00
parent baceadf8cc
commit 92f1083b88

View File

@ -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"