spotify.rb: remove login item on uninstall

This commit is contained in:
Vítor Galvão 2015-12-12 19:57:16 +00:00
parent 7ca969460f
commit ab9ab91194
1 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
cask :v1 => 'spotify' do
cask :v1_2 => 'spotify' do
version :latest
sha256 :no_check
@ -10,7 +10,8 @@ cask :v1 => 'spotify' do
app 'Spotify.app'
uninstall :launchctl => 'com.spotify.webhelper'
uninstall :launchctl => 'com.spotify.webhelper',
:login_item => 'Spotify'
zap :delete => [
'~/Library/Application Support/Spotify',