homebrew-cask/Casks/alfred.rb

28 lines
1.0 KiB
Ruby
Raw Normal View History

2014-11-14 01:25:20 +08:00
cask :v1 => 'alfred' do
2015-08-21 13:09:11 +08:00
version '2.7.2_400'
sha256 '1d83ae18e99869d981dcbcc74a5ce0333bbf9d528cc0c8fa5e48bb74f756eaf1'
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'
app 'Alfred 2.app/Contents/Preferences/Alfred Preferences.app'
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