forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfantastical.rb
24 lines (19 loc) · 955 Bytes
/
fantastical.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
cask 'fantastical' do
version '2.5.10'
sha256 '46772c5c24a1761c3ddae7b2f16def2fdf2577366e059c647c7112b4a0ad4fd9'
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