homebrew-cask/Casks/alfred.rb

26 lines
909 B
Ruby

cask 'alfred' do
version '3.6.2_922'
sha256 'a27ac2a377fb45ac8b9b76fac33311f0c8108507bd24aca4e738f6b993f8d937'
url "https://cachefly.alfredapp.com/Alfred_#{version}.dmg"
appcast 'https://www.alfredapp.com/app/update/general.xml'
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