Created
June 7, 2019 14:32
-
-
Save whyliam/a27bae053207dcb4c46bb5c9cf8ef274 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
cd $(dirname "$0") | |
read -sp "Password: " pwd | |
echo | |
rm -rf ~/Library/Application Support/com.nssurge.surge-* | |
echo "${pwd}" | sudo -S date 010110002018 | |
nohup ./Surge\ 3.app/Contents/MacOS/Surge\ 3 & | |
sleep 20 | |
echo "${pwd}" | sudo -S sntp -sS time.apple.com. |
nohup那一行现在要改成
nohup ./Surge.app/Contents/MacOS/Surge &
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
您好 还在用吗? 貌似无效了吧 谢谢