homebrew-cask/Casks/alfred.rb

29 lines
990 B
Ruby
Raw Normal View History

2014-11-14 01:25:20 +08:00
cask :v1 => 'alfred' do
2015-09-22 03:17:05 +08:00
version '2.8_414'
sha256 'c6e5c7d156cb590411ae21c2a3ce991548ae560139f2369e9d1ba04ef4388124'
2014-09-26 20:08:46 +08:00
url "https://cachefly.alfredapp.com/Alfred_#{version}.zip"
2015-01-04 10:48:21 +08:00
name 'Alfred'
homepage 'http://www.alfredapp.com/'
license :freemium
2014-09-16 00:05:13 +08:00
app 'Alfred 2.app'
2015-10-22 00:11:41 +08:00
accessibility_access true
2014-09-09 20:55:26 +08:00
postflight do
suppress_move_to_applications :key => 'suppressMoveToApplications'
end
2015-07-25 16:38:49 +08:00
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