25 lines
834 B
Ruby
25 lines
834 B
Ruby
cask "alfred" do
|
|
version "4.2.1_1187"
|
|
sha256 "429d727427eed77984ca17eda2d92c041fbff86671b024f194210158ccc6d669"
|
|
|
|
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
|