26 lines
1.0 KiB
Ruby
26 lines
1.0 KiB
Ruby
cask 'fantastical' do
|
|
version '2.4.8'
|
|
sha256 '29a6a86b5181c82c99a6f602c2e0d53c47f286b4a4ef12f36857d3f8fa97aedf'
|
|
|
|
url "http://cdn.flexibits.com/Fantastical_#{version}.zip"
|
|
appcast "https://flexibits.com/fantastical/appcast#{version.major}.php",
|
|
checkpoint: 'ad1b26917dfe1b685b7115ab662505d05180b40c7765e9499c979d84c4958392'
|
|
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
|