折腾完黑苹果,尝试用作主力机,接下来折腾一下苹果下面的APP,顺便自己记录一下。
网上找了很多不同版本的Mac版Spotify去广告方法,包括修改host,使用旧版Spotify等,经过实测都不太行。以下是我亲测可用的办法:
1.安转前,先用一段命令防止Spotify升级,以防新版阻止了这个去广告方法。
- # This script prevents Spotifys Autoupdating on OS X (testet on Yosemite)
- # Based on this tutorial:
- # http://supraliminal.net/blog/2013/4/21/how-to-revert-back-to-the-older-better-spotify-client
- #
- # This script must be run as root:
- # sudo sh doNotUpdateSpotify.sh
- #
- FILE="/tmp/out.$"
- if [ "$(id -u)" != "0" ]; then
- echo "This script must be run as root"
- echo "-------------------------------------------"
- echo "This is what you should type into terminal:"
- echo "sudo sh doNotUpdateSpotify.sh"
- exit 1
- fi
- filepath1="/Users/$SUDO_USER/Library/Application Support/Spotify/Spotify_new.archive"
- filepath2="/Users/$SUDO_USER/Library/Application Support/Spotify/Spotify_new.archive.sig"
- [[ -f "$filepath1" ]] && rm -f "$filepath1"
- [[ -f "$filepath2" ]] && rm -f "$filepath2"
- touch "$filepath1"
- touch "$filepath2"
- chflags uchg "$filepath1" # Lock file in which the downloaded update is stored, thus preventing an update
- chflags uchg "$filepath2"
- echo "---------------------------------------"
- echo "| Spotify will no longer be updated |"
- echo "---------------------------------------"
复制代码用文本编辑器,把以上这段代码保存为DoNotUpdateSpotify.sh并放在桌面;
打开mac的终端,输入 "cd desktop" 然后输入 "sudo sh DoNotUpdateSpotify.sh";
2. 安转目前最新版Spotify,亲测我在用的1.1.29.592版本可以,这也是发帖时的最新版,可以在这里下载完整的离线包
https://filehippo.com/mac/download_spotify_for_mac/3.安装MuteSpotifyAds
https://github.com/simonmeusel/MuteSpotifyAds每次想使用Spotify的时候,不要直接打开Spotify.app,而是运行这个MuteSpotifyAds.app,然后Spotify会自动打开。在这个MuteSpotifyAds监视下,Spotify就没有广告了。
补充:最好再加上hosts
https://github.com/CHEF-KOCH/Spo ... s/Spotify-HOSTS.txt