Skip to content

Instantly share code, notes, and snippets.

@jat001
Last active December 8, 2021 20:47
Show Gist options
  • Save jat001/7596027 to your computer and use it in GitHub Desktop.
Save jat001/7596027 to your computer and use it in GitHub Desktop.
shadowsocks local daemon on Windows.
Set ws = CreateObject("Wscript.Shell")
ws.run "C:\Users\Jat\AppData\Local\shadowsocks\run.cmd " & WScript.Arguments(0), vbhide
@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