-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
/
fantastical.rb
35 lines (29 loc) 路 1.11 KB
/
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
25
26
27
28
29
30
31
32
33
34
35
cask "fantastical" do
version "3.8.16"
sha256 "81024bf7107fae0ec7aefb015bedbc5c4644acf26dea18fbe9d16901d77f2b89"
url "https://cdn.flexibits.com/Fantastical_#{version}.zip"
name "Fantastical"
desc "Calendar software"
homepage "https://flexibits.com/fantastical"
livecheck do
url "https://flexibits.com/fantastical/appcast2.php"
strategy :sparkle, &:short_version
end
auto_updates true
depends_on macos: ">= :big_sur"
app "Fantastical.app"
uninstall launchctl: "com.flexibits.fantastical*.mac.launcher",
quit: [
"*.com.flexibits.fantastical*.mac.helper",
"com.flexibits.fantastical*.mac",
]
zap trash: [
"~/Library/Application Scripts/*.com.flexibits.fantastical*",
"~/Library/Application Scripts/com.flexibits.fantastical*",
"~/Library/Application Scripts/com.flexibits.fbcaldav.*",
"~/Library/Containers/com.flexibits.fantastical*",
"~/Library/Containers/com.flexibits.fbcaldav.*",
"~/Library/Group Containers/*.com.flexibits.fantastical*.mac",
"~/Library/Preferences/com.flexibits.fantastical.plist",
]
end