homebrew-cask/Casks/alfred.rb

25 lines
855 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'alfred' do
2017-10-19 17:02:35 +08:00
version '3.5.1_883'
sha256 '782ac85d76500f6b2968ebd2dda820331ba0567e509194799b0eaede2138e204'
2017-09-26 08:49:50 +08:00
url "https://cachefly.alfredapp.com/Alfred_#{version}.dmg"
2015-01-04 10:48:21 +08:00
name 'Alfred'
homepage 'https://www.alfredapp.com/'
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
2016-05-20 01:02:41 +08:00
app "Alfred #{version.major}.app"
2016-05-20 01:02:41 +08:00
uninstall quit: 'com.runningwithcrayons.Alfred-3',
login_item: 'Alfred 3'
2015-07-25 16:38:49 +08:00
zap delete: [
2016-05-20 01:02:41 +08:00
'~/Library/Application Support/Alfred 3',
'~/Library/Caches/com.runningwithcrayons.Alfred-3',
'~/Library/Preferences/com.runningwithcrayons.Alfred-3.plist',
'~/Library/Preferences/com.runningwithcrayons.Alfred-Preferences-3.plist',
'~/Library/Saved Application State/com.runningwithcrayons.Alfred-Preferences-3.savedState',
]
end