forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
alfred.rb
29 lines (23 loc) · 966 Bytes
/
alfred.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
cask 'alfred' do
version '3.1.1_737'
sha256 '339da1580a24169713474b2eb34797ff28fb71d67a0b614c2e9004a42ec0be05'
url "https://cachefly.alfredapp.com/Alfred_#{version}.zip"
name 'Alfred'
homepage 'https://www.alfredapp.com/'
license :freemium
auto_updates true
accessibility_access true
app "Alfred #{version.major}.app"
postflight do
suppress_move_to_applications key: 'suppressMoveToApplications'
end
uninstall quit: 'com.runningwithcrayons.Alfred-3',
login_item: 'Alfred 3'
zap delete: [
'~/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