25 lines
884 B
Ruby
25 lines
884 B
Ruby
cask 'alfred' do
|
|
version '4.0.3_1092'
|
|
sha256 '748c756a327af26372ba21baa6ee89e8ebc8dd3ee545c3840397bbc691e3142b'
|
|
|
|
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',
|
|
login_item: '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
|