24 lines
842 B
Ruby
24 lines
842 B
Ruby
cask 'alfred' do
|
|
version '4.1_1167'
|
|
sha256 'a84da06a7624eadf38842bfa949a3ecebbf3da3c7eb130ece4fbcfb2cad27c3f'
|
|
|
|
url "https://cachefly.alfredapp.com/Alfred_#{version}.dmg"
|
|
appcast "https://www.alfredapp.com/app/update#{version.major}/general.xml"
|
|
name 'Alfred'
|
|
homepage 'https://www.alfredapp.com/'
|
|
|
|
auto_updates true
|
|
|
|
app "Alfred #{version.major}.app"
|
|
|
|
uninstall quit: 'com.runningwithcrayons.Alfred'
|
|
|
|
zap trash: [
|
|
'~/Library/Application Support/Alfred',
|
|
'~/Library/Caches/com.runningwithcrayons.Alfred',
|
|
'~/Library/Preferences/com.runningwithcrayons.Alfred.plist',
|
|
'~/Library/Preferences/com.runningwithcrayons.Alfred-Preferences.plist',
|
|
'~/Library/Saved Application State/com.runningwithcrayons.Alfred-Preferences.savedState',
|
|
]
|
|
end
|