-
-
Save 582033/fea9296377c7f3d5fcf64fe2599d949d to your computer and use it in GitHub Desktop.
xunlei.sh
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 | |
chmod a-x /Applications/Thunder.app/Contents/PlugIns/advertising.xlplugin | |
chmod a-x /Applications/Thunder.app/Contents/Bundles/XLPlayer.app | |
chmod a-x /Applications/Thunder.app/Contents/PlugIns/bbassistant.xlplugin | |
chmod a-x /Applications/Thunder.app/Contents/PlugIns/browserhelper.xlplugin | |
chmod a-x /Applications/Thunder.app/Contents/PlugIns/featuredpage.xlplugin | |
chmod a-x /Applications/Thunder.app/Contents/PlugIns/myvip.xlplugin | |
chmod a-x /Applications/Thunder.app/Contents/PlugIns/playgame.xlplugin | |
chmod a-x /Applications/Thunder.app/Contents/PlugIns/subtitle.xlplugin | |
chmod a-x /Applications/Thunder.app/Contents/PlugIns/thunderstore.xlplugin | |
chmod a-x /Applications/Thunder.app/Contents/PlugIns/xiazaibao.xlplugin | |
chmod a-x /Applications/Thunder.app/Contents/PlugIns/xlbrowser.xlplugin | |
chmod a-x /Applications/Thunder.app/Contents/PlugIns/xlplayer.xlplugin | |
chmod a-x /Applications/Thunder.app/Contents/PlugIns/iOSThunder.xlplugin | |
chmod a-x /Applications/Thunder.app/Contents/PlugIns/softmanager.xlplugin | |
#清除播放器设置缓存 | |
killall Thunder | |
defaults write com.xunlei.Thunder setDefaultPlayer -bool FALSE | |
sudo rm -rfv /Library/Caches/com.apple.iconservices.store | |
sudo find /private/var/folders/ \( -name com.apple.dock.iconcache -or -name com.apple.iconservices \) -exec rm -rfv {} \; | |
sudo touch /Applications/* | |
killall Dock | |
killall Finder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment