Created
June 30, 2019 03:14
-
-
Save huhuhang/e08e7ab5124d6c3e048c76bb7624f088 to your computer and use it in GitHub Desktop.
一键清除 macOS 迅雷多余组件
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
echo "→ Clean macOS Thunder?" | |
read -r -p "[Y/n] " input | |
case $input in | |
[yY][eE][sS]|[yY]) | |
cd /Applications/Thunder.app/Contents/PlugIns/ | |
rm -rf advertising.xlplugin | |
rm -rf featuredpage.xlplugin | |
rm -rf softmanager.xlplugin | |
rm -rf livestream.xlplugin | |
rm -rf feedback.xlplugin | |
rm -rf iOSThunder.xlplugin | |
rm -rf xlbrowser.xlplugin | |
rm -rf xlplayer.xlplugin | |
rm -rf diagnostic.xlplugin | |
rm -rf viptips.xlplugin | |
rm -rf bbassistant.xlplugin | |
rm -rf browserhelper.xlplugin | |
echo "Done." | |
;; | |
[nN][oO]|[nN]) | |
echo "Exit." | |
;; | |
*) | |
echo "Invalid input..." | |
exit 1 | |
;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment