-
-
Notifications
You must be signed in to change notification settings - Fork 11.5k
Expand file tree
/
Copy pathopencat.rb
More file actions
29 lines (24 loc) · 878 Bytes
/
opencat.rb
File metadata and controls
29 lines (24 loc) · 878 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
29
cask "opencat" do
version "2.92.5,2339"
sha256 "08dcf6c6a0f51e1eaac440e896100278e6a7c7ade086905e7e9bb51f91f09f1d"
url "https://opencat.app/releases/OpenCat-#{version.csv.first}.#{version.csv.second}.dmg"
name "OpenCat"
desc "Native AI chat client"
homepage "https://opencat.app/"
livecheck do
url "https://opencat.app/releases/versions.xml"
strategy :sparkle do |item|
short_version = (item.short_version.count(".") >= 2) ? item.short_version : "#{item.short_version}.0"
"#{short_version},#{item.version}"
end
end
auto_updates true
depends_on macos: :sonoma
app "OpenCat.app"
zap trash: [
"~/Library/Application Scripts/tech.baye.OpenCat",
"~/Library/Containers/tech.baye.OpenCat",
"~/Library/Group Containers/group.tech.baye.openai",
"~/Library/Saved Application State/tech.baye.OpenCat.savedState",
]
end