Last active
December 8, 2021 20:47
-
-
Save jat001/7596027 to your computer and use it in GitHub Desktop.
shadowsocks local daemon on Windows.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set ws = CreateObject("Wscript.Shell") | |
ws.run "C:\Users\Jat\AppData\Local\shadowsocks\run.cmd " & WScript.Arguments(0), vbhide |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
goto :%1 | |
:local | |
"C:\Program Files\Python27\Scripts\sslocal.exe" -c "C:\Users\Jat\AppData\Local\shadowsocks\config.json" >> "C:\Users\Jat\AppData\Local\shadowsocks\local.log" 2>&1 | |
exit | |
:server | |
"C:\Program Files\Python27\Scripts\ssserver.exe" -c "C:\Users\Jat\AppData\Local\shadowsocks\config.json" >> "C:\Users\Jat\AppData\Local\shadowsocks\server.log" 2>&1 | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment