homebrew-cask/Casks/alfred.rb

25 lines
832 B
Ruby

cask "alfred" do
version "4.3_1205"
sha256 "eca6e890f736b61c339d20e90ccb9b741141bdf05eb4f7695a371f23eceb6cb4"
url "https://cachefly.alfredapp.com/Alfred_#{version}.dmg"
appcast "https://www.alfredapp.com/app/update#{version.major}/general.xml"
name "Alfred"
desc "Application launcher and productivity software"
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