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