mirror of
https://github.com/iamdoubz/go-shadowsocks2-windows.git
synced 2026-11-08 10:05:35 -06:00
main
go-shadowsocks2-windows
A startup script for windows and go-shadowsocks2
Assumptions
- You have already compiled the binary to a folder C:\Users\user\github\go-shadowsocks2
- You are tired of manually running the go-shadowsocks2 binary
- You are running windows because of reasons
Steps
- Copy the files
start.batandstart.ps1into the go-shadowsocks2 binary directory (see #Assumptions #1) - Change
start.ps1to point to your own personal go-shadowsocks2 proxy server URL and password - Create a New Task Scheduler
- General tab
- Name: SOCKS5
- Description: Go-Shadow2 SOCKS5 Proxy
- Run whether user is logged on or not
- Do not store password
- Run with highest privileges
- Configure for: Windows 10
- Triggers tab
- At log on
- Actions tab
- Start a program
- Program/script:
C:\Users\user\github\go-shadowsocks2\start.bat - Start in (optional):
C:\Users\user\github\go-shadowsocks2
- Conditions tab
- Network: Start only if the following network connection is available (select your network name here)
- Settings tab
- Allow task to be run on demand
- Run task as soon as possible after a scheduled start is missed
- If the task fails, restart every
5 minutes - Attempt to restart up to
6times - If the task is already running, then the following rule applies:
Do not start a new instance
Description
A startup script for windows and go-shadowsocks2
28 KiB
0 Stars
1 Watchers
0 Forks
Languages
PowerShell
75.3%
Batchfile
24.7%