2015-12-18 09:15:28 +08:00
|
|
|
cask 'spotify' do
|
2014-09-17 19:43:03 +08:00
|
|
|
version :latest
|
2014-05-08 20:51:31 +08:00
|
|
|
sha256 :no_check
|
2014-06-27 08:01:45 +08:00
|
|
|
|
2015-10-11 21:26:24 +08:00
|
|
|
url 'https://download.spotify.com/Spotify.dmg'
|
2014-12-30 08:07:01 +08:00
|
|
|
name 'Spotify'
|
2014-06-27 08:01:45 +08:00
|
|
|
homepage 'https://www.spotify.com'
|
2014-10-13 20:24:07 +08:00
|
|
|
license :gratis
|
2015-12-31 09:14:44 +08:00
|
|
|
|
2016-01-21 05:05:15 +08:00
|
|
|
auto_updates true
|
2016-01-18 09:27:20 +08:00
|
|
|
depends_on macos: '>= :lion'
|
2014-06-27 08:01:45 +08:00
|
|
|
|
2014-09-16 00:06:23 +08:00
|
|
|
app 'Spotify.app'
|
2014-11-22 22:24:21 +08:00
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
uninstall launchctl: 'com.spotify.webhelper',
|
|
|
|
login_item: 'Spotify'
|
2014-12-30 23:07:05 +08:00
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
zap delete: [
|
|
|
|
'~/Library/Application Support/Spotify',
|
|
|
|
'~/Library/Preferences/com.spotify.client.plist',
|
|
|
|
'~/Library/Preferences/com.spotify.client.helper.plist',
|
|
|
|
'~/Library/Caches/com.spotify.client',
|
|
|
|
'~/Library/Saved Application State/com.spotify.client.savedState',
|
|
|
|
'~/Library/Logs/Spotify',
|
|
|
|
]
|
2012-10-19 22:51:27 +08:00
|
|
|
end
|