forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalfred.rb
24 lines (19 loc) · 848 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
cask 'alfred' do
version '3.6.1_910'
sha256 'fdefdb35047e193e1d06f5a441f4aabd4b45b24fd43c63d223d8508ad11a131e'
url "https://cachefly.alfredapp.com/Alfred_#{version}.dmg"
name 'Alfred'
homepage 'https://www.alfredapp.com/'
auto_updates true
accessibility_access true
app "Alfred #{version.major}.app"
uninstall quit: 'com.runningwithcrayons.Alfred-3',
login_item: 'Alfred 3'
zap trash: [
'~/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