homebrew-cask/Casks/alfred.rb

25 lines
855 B
Ruby

cask 'alfred' do
version '3.4.1_860'
sha256 'b436a1229bf8f213978c4c4e0e36195f4488ccd13012bfc6822e91def50a6590'
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"
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