forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalfred.rb
23 lines (18 loc) · 844 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
cask 'alfred' do
version '4.0.9_1144'
sha256 '951dcffa20c84eb1f17ade16df67aae7eebb9a145dd48e0de32c17f1d3497a1e'
url "https://cachefly.alfredapp.com/Alfred_#{version}.dmg"
appcast "https://www.alfredapp.com/app/update#{version.major}/general.xml"
name 'Alfred'
homepage 'https://www.alfredapp.com/'
auto_updates true
app "Alfred #{version.major}.app"
uninstall quit: 'com.runningwithcrayons.Alfred'
zap trash: [
'~/Library/Application Support/Alfred',
'~/Library/Caches/com.runningwithcrayons.Alfred',
'~/Library/Preferences/com.runningwithcrayons.Alfred.plist',
'~/Library/Preferences/com.runningwithcrayons.Alfred-Preferences.plist',
'~/Library/Saved Application State/com.runningwithcrayons.Alfred-Preferences.savedState',
]
end