-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
/
Copy pathconferences.rb
34 lines (28 loc) · 1.02 KB
/
conferences.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
cask "conferences" do
version "0.0.1-alpha22"
sha256 "61cd7c47ecc718613c9e1ba803ae36e26c37c98bb6a46b5ced2898942c9771a5"
url "https://github.com/zagahr/Conferences.digital/releases/download/#{version}/Conferences_v#{version}.zip"
name "Conferences.digital"
desc "App to watch conference videos"
homepage "https://github.com/zagahr/Conferences.digital"
livecheck do
url "https://zagahr.github.io/Conferences.digital/appcast.xml"
regex(/_v(\d+(?:\.\d+)*-.*?)\.zip/i)
strategy :sparkle do |item, regex|
item.url[regex, 1]
end
end
depends_on macos: ">= :mojave"
app "Conferences.app"
zap trash: [
"~/Library/Application Support/digital.conferences.macos",
"~/Library/Caches/digital.conferences.macos",
"~/Library/HTTPStorages/digital.conferences.macos",
"~/Library/Preferences/digital.conferences.macos.plist",
"~/Library/Saved Application State/digital.conferences.macos.savedState",
"~/Library/WebKit/digital.conferences.macos",
]
caveats do
requires_rosetta
end
end