homebrew-cask/Casks/alfred.rb

30 lines
1.0 KiB
Ruby

cask 'alfred' do
version '2.8.1_425'
sha256 'ed112b6c72701b4b58e3a431d49e4b5139940ed6438ed3fd413f2c9eac693a6b'
url "https://cachefly.alfredapp.com/Alfred_#{version}.zip"
name 'Alfred'
homepage 'http://www.alfredapp.com/'
license :freemium
app 'Alfred 2.app'
accessibility_access true
postflight do
suppress_move_to_applications :key => 'suppressMoveToApplications'
end
uninstall :quit => 'com.runningwithcrayons.Alfred-2',
:login_item => '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