25 lines
955 B
Ruby
25 lines
955 B
Ruby
cask 'fantastical' do
|
|
version '2.5.14'
|
|
sha256 '1f0d0f675365e1201a08068366826d759121e18192573335b12bdea53daaf3df'
|
|
|
|
url "http://cdn.flexibits.com/Fantastical_#{version}.zip"
|
|
appcast "https://flexibits.com/fantastical/appcast#{version.major}.php"
|
|
name 'Fantastical'
|
|
homepage 'https://flexibits.com/fantastical'
|
|
|
|
auto_updates true
|
|
|
|
app "Fantastical #{version.major}.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
|