Add zap to alfred cask

This commit is contained in:
will 2015-07-25 16:38:49 +08:00 committed by Victor Popkov
parent 333889cd00
commit 2bcf867dbd
1 changed files with 11 additions and 0 deletions

View File

@ -13,4 +13,15 @@ cask :v1 => 'alfred' do
postflight do
suppress_move_to_applications :key => 'suppressMoveToApplications'
end
uninstall :quit => 'com.runningwithcrayons.Alfred-2'
zap :delete => [
'~/Library/Application Support/Alfred 2',
'~/Library/Caches/com.runningwithcrayons.Alfred-2',
'~/Library/Caches/com.runningwithcrayons.Alfred-Preferences',
'~/Library/Preferences/com.runningwithcrayons.Alfred-2.plist',
'~/Library/Preferences/com.runningwithcrayons.Alfred-Preferences.plist',
'~/Library/Saved Application State/com.runningwithcrayons.Alfred-Preferences.savedState'
]
end