homebrew-cask/Casks/alfred.rb

25 lines
832 B
Ruby
Raw Normal View History

cask "alfred" do
version "4.1_1167"
sha256 "a84da06a7624eadf38842bfa949a3ecebbf3da3c7eb130ece4fbcfb2cad27c3f"
2017-09-26 08:49:50 +08:00
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/"
2015-12-29 00:19:21 +08:00
auto_updates true
2016-05-20 01:02:41 +08:00
app "Alfred #{version.major}.app"
uninstall quit: "com.runningwithcrayons.Alfred"
2015-07-25 16:38:49 +08:00
2017-11-18 17:35:03 +08:00
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