30 lines
964 B
Ruby
30 lines
964 B
Ruby
cask 'alfred' do
|
|
version '3.1_718'
|
|
sha256 '6c0274751d8dd60d5315571113e5da57da2831ca924eead91ec3be6b8fe4d519'
|
|
|
|
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
|