spectacle.rb: remove login item on uninstall

This commit is contained in:
Vítor Galvão 2015-12-12 20:05:41 +00:00
parent 9bd3d8374d
commit 618f82c684
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
cask :v1 => 'spectacle' do
cask :v1_2 => 'spectacle' do
if MacOS.release <= :mountain_lion
version '0.8.6'
@ -19,6 +19,8 @@ cask :v1 => 'spectacle' do
app 'Spectacle.app'
uninstall :login_item => 'Spectacle'
zap :delete => [
'~/Library/Caches/com.divisiblebyzero.Spectacle',
'~/Library/Caches/com.plausiblelabs.crashreporter.data/com.divisiblebyzero.Spectacle',