Skip to content

Instantly share code, notes, and snippets.

@xiocode
Last active December 19, 2017 09:28
Show Gist options
  • Save xiocode/87a8fe9dd2973f8d4be53e7b8ee27bd2 to your computer and use it in GitHub Desktop.
Save xiocode/87a8fe9dd2973f8d4be53e7b8ee27bd2 to your computer and use it in GitHub Desktop.
删除Mac版迅雷的多余功能,只保留下载
#!/bin/bash
#
# 使用方法 curl -sSL https://gist.githubusercontent.com/xiocode/87a8fe9dd2973f8d4be53e7b8ee27bd2/raw/xunlei.sh | bash
#
chmod a-x /Applications/Thunder.app/Contents/Bundles/*
chmod a-x /Applications/Thunder.app/Contents/PlugIns/*
chmod a+x /Applications/Thunder.app/Contents/PlugIns/applications.xlplugin
chmod a+x /Applications/Thunder.app/Contents/PlugIns/settings.xlplugin
chmod a+x /Applications/Thunder.app/Contents/PlugIns/userlogin.xlplugin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment