29 lines
944 B
Ruby
29 lines
944 B
Ruby
cask 'alfred' do
|
|
version '3.3_801'
|
|
sha256 'd91fab5b5fb386cd4d0e1e938c428c53f9131f8a13a16887d8e20e295aa54196'
|
|
|
|
url "https://cachefly.alfredapp.com/Alfred_#{version}.zip"
|
|
name 'Alfred'
|
|
homepage 'https://www.alfredapp.com/'
|
|
|
|
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
|