forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclearance.rb
More file actions
28 lines (23 loc) · 987 Bytes
/
clearance.rb
File metadata and controls
28 lines (23 loc) · 987 Bytes
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
cask "clearance" do
version "1.3.1"
sha256 "5df69007b847390e3ecf9afc40b8911f597a64fd2438dacc32e413fca22a7a13"
url "https://github.com/prime-radiant-inc/clearance/releases/download/v#{version}/Clearance-#{version}-macOS.dmg"
name "Clearance"
desc "Markdown viewer and editor"
homepage "https://github.com/prime-radiant-inc/clearance/blob/main/apps/macos/README.md"
livecheck do
url "https://github.com/prime-radiant-inc/clearance/releases/latest/download/appcast.xml"
strategy :sparkle, &:short_version
end
auto_updates true
depends_on macos: ">= :sonoma"
app "Clearance.app"
binary "#{appdir}/Clearance.app/Contents/Helpers/clearance"
zap trash: [
"~/Library/Caches/com.primeradiant.Clearance",
"~/Library/HTTPStorages/com.primeradiant.Clearance",
"~/Library/HTTPStorages/com.primeradiant.Clearance.binarycookies",
"~/Library/Preferences/com.primeradiant.Clearance.plist",
"~/Library/WebKit/com.primeradiant.Clearance",
]
end