Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

Commit

Permalink
update proxy launch based on grasscutter
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed Apr 30, 2022
1 parent 9d4ba33 commit 5051e67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions resources/js/onLoad.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* should be done here to ensure DOM contents are loaded.
*/
document.addEventListener('DOMContentLoaded', async () => {
displayUpdate();
setBackgroundImage();
displayGameFolder();
displayServerFolder();
Expand Down
2 changes: 1 addition & 1 deletion scripts/private_server_launch.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v Pr
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /d "127.0.0.1:8080" /f >nul 2>nul

:: Start proxy server
start "Proxy Server" "%ORIGIN%/ext/mitmdump.exe" -s "%ORIGIN%/proxy/proxy.py" --ssl-insecure --set ip=%IP% --set port=%PORT% --set use_https=%USE_HTTPS%
start "Proxy Server" "%ORIGIN%/ext/mitmdump.exe" -s "%ORIGIN%/proxy/proxy.py" -k --allow-hosts ".*\.yuanshen\.com|.*\.mihoyo\.com|.*\.hoyoverse\.com" --ssl-insecure --set ip=%IP% --set port=%PORT% --set use_https=%USE_HTTPS%

echo Opening %GAME_PATH%

Expand Down

0 comments on commit 5051e67

Please sign in to comment.