Last active
May 23, 2025 15:45
-
-
Save caobug/ce1b6d5e60fa381dc061d3a6bbbdcc63 to your computer and use it in GitHub Desktop.
Uninstall shadowsocks from macOS
This file contains hidden or 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
#/bin/bash | |
launchctl stop com.qiuyuzhou.shadowsocksX-NG.local | |
launchctl stop com.qiuyuzhou.shadowsocksX-NG.http | |
launchctl stop com.qiuyuzhou.shadowsocksX-NG.kcptun | |
sudo rm -rf /Applications/ShadowsocksX-NG*.app | |
sudo rm -rf /Library/Application\ Support/ShadowsocksX-NG | |
sudo rm -rf ~/Library/Application\ Support/ShadowsocksX-NG | |
sudo rm -rf ~/Library/LaunchAgents/com.qiuyuzhou.shadowsocksX-NG.* | |
sudo rm -rf ~/Library/Preferences/com.qiuyuzhou.ShadowsocksX-NG.* | |
pids=`ps -ef | grep ShadowsocksX-NG | grep Application | awk '{print $2}'` | |
for pid in $pids; do | |
kill -9 $pid | |
done | |
echo 'uninstall completion.' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment