-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
/
zettlr.rb
24 lines (19 loc) 路 845 Bytes
/
zettlr.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 "zettlr" do
arch arm: "arm64", intel: "x64"
version "3.1.1"
sha256 arm: "f56c5ac73922359f7af4cea63ed7aafc4e58be081014e7a5923ec4175f1ca461",
intel: "3644b861dcf66889f85f71e27ebd789f9a33451a0437ae7e54b3347b73762642"
url "https://github.com/Zettlr/Zettlr/releases/download/v#{version}/Zettlr-#{version}-#{arch}.dmg"
name "Zettlr"
desc "Open-source markdown editor"
homepage "https://github.com/Zettlr/Zettlr/"
depends_on macos: ">= :catalina"
app "Zettlr.app"
zap trash: [
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.zettlr.app.sfl*",
"~/Library/Application Support/zettlr",
"~/Library/Logs/Zettlr",
"~/Library/Preferences/com.zettlr.app.plist",
"~/Library/Saved Application State/com.zettlr.app.savedState",
]
end