Skip to content

Instantly share code, notes, and snippets.

@whyliam whyliam/
Created Jun 7, 2019

What would you like to do?
#!/usr/bin/env bash
cd $(dirname "$0")
read -sp "Password: " pwd
rm -rf ~/Library/Application Support/com.nssurge.surge-*
echo "${pwd}" | sudo -S date 010110002018
nohup ./Surge\\ 3 &
sleep 20
echo "${pwd}" | sudo -S sntp -sS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.