homebrew-cask/Casks/spotify.rb

27 lines
747 B
Ruby
Raw Normal View History

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
url 'https://download.spotify.com/Spotify.dmg'
name 'Spotify'
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
depends_on macos: '>= :lion'
2014-09-16 00:06:23 +08:00
app 'Spotify.app'
2014-11-22 22:24:21 +08:00
uninstall launchctl: 'com.spotify.webhelper',
login_item: 'Spotify'
2014-12-30 23:07:05 +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