2015-12-18 09:15:28 +08:00
|
|
|
cask 'alfred' do
|
2015-11-20 23:22:48 +08:00
|
|
|
version '2.8.1_425'
|
|
|
|
sha256 'ed112b6c72701b4b58e3a431d49e4b5139940ed6438ed3fd413f2c9eac693a6b'
|
2014-06-27 08:00:56 +08:00
|
|
|
|
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'
|
2015-12-26 12:46:37 +08:00
|
|
|
homepage 'https://www.alfredapp.com/'
|
2015-04-18 08:59:51 +08:00
|
|
|
license :freemium
|
2014-06-27 08:00:56 +08:00
|
|
|
|
2015-12-29 00:19:21 +08:00
|
|
|
auto_updates true
|
2015-12-29 00:25:50 +08:00
|
|
|
accessibility_access true
|
2015-12-29 00:19:21 +08:00
|
|
|
|
2014-09-16 00:05:13 +08:00
|
|
|
app 'Alfred 2.app'
|
2014-02-17 12:25:00 +08:00
|
|
|
|
2014-09-09 20:55:26 +08:00
|
|
|
postflight do
|
2014-11-27 22:59:15 +08:00
|
|
|
suppress_move_to_applications :key => 'suppressMoveToApplications'
|
2014-02-04 06:49:40 +08:00
|
|
|
end
|
2015-07-25 16:38:49 +08:00
|
|
|
|
2016-01-04 03:17:44 +08:00
|
|
|
uninstall :quit => 'com.runningwithcrayons.Alfred-2',
|
2015-12-13 04:05:32 +08:00
|
|
|
:login_item => 'Alfred 2'
|
2015-07-25 16:38:49 +08:00
|
|
|
|
|
|
|
zap :delete => [
|
2016-01-04 03:17:44 +08:00
|
|
|
'~/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',
|
2015-07-25 16:38:49 +08:00
|
|
|
]
|
2012-03-05 10:46:30 +08:00
|
|
|
end
|