-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
/
cahier.rb
31 lines (25 loc) 路 826 Bytes
/
cahier.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
cask "cahier" do
version "0.4.8"
sha256 "bbe3a59f509fb3d3b1ba8919b12a48b906f7030e4c8f122993cd2b0abd23313f"
url "https://getcahier.com/releases-macos/cahier-#{version}.dmg"
name "Cahier"
desc "Knowledge base with native support for research"
homepage "https://getcahier.com/"
livecheck do
url "https://getcahier.com/releases-macos/appcast.xml"
strategy :sparkle
end
auto_updates true
depends_on macos: ">= :big_sur"
app "Cahier.app"
zap trash: [
"~/Library/HTTPStorages/org.Cahier-App.Cahier",
"~/Library/Preferences/com.cahier-app.Cahier.plist",
"~/Library/Preferences/org.Cahier-App.Cahier.plist",
"~/Library/Saved Application State/org.Cahier-App.Cahier.savedState",
],
rmdir: "~/Documents/Cahier"
caveats do
requires_rosetta
end
end