25 lines
881 B
Ruby
25 lines
881 B
Ruby
cask 'alfred' do
|
|
version '3.8.1_961'
|
|
sha256 '9eb1c72910357775b6684f27b189533645f9d65fce57c7e4dad247042afb6621'
|
|
|
|
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
|
|
|
|
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
|