homebrew-cask/Casks/fantastical.rb

25 lines
857 B
Ruby

cask "fantastical" do
version "3.1.4"
sha256 "24e84cde7e5d6187d65a6fd6c37fcbcd12140e993baba59f47a1bebe1c0905a7"
url "https://cdn.flexibits.com/Fantastical_#{version}.zip"
appcast "https://flexibits.com/fantastical/appcast2.php"
name "Fantastical"
homepage "https://flexibits.com/fantastical"
auto_updates true
app "Fantastical.app"
uninstall launchctl: "com.flexibits.fantastical#{version.major}.mac.launcher",
quit: "com.flexibits.fantastical#{version.major}.mac"
zap trash: [
"~/Library/Preferences/com.flexibits.fantastical.plist",
"~/Library/Application Scripts/com.flexibits.fbcaldav.*",
"~/Library/Application Scripts/com.flexibits.fantastical#{version.major}.*",
"~/Library/Containers/com.flexibits.fbcaldav.*",
"~/Library/Containers/com.flexibits.fantastical#{version.major}.*",
]
end