Skip to content

Commit 02d3e4c

Browse files
authored
Merge pull request #234840 from yutaIMD/add-chitubox
chitubox 1.0.1 (new cask)
2 parents 848fa04 + ac378db commit 02d3e4c

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

Casks/c/chitubox.rb

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
cask "chitubox" do
2+
version "1.0.1"
3+
sha256 "cadfe2d2ccff8c13249bd70bd5882192275ad7008d1958ae6292214a82701b7e"
4+
5+
url "https://sac.chitubox.com/software/download.do?installerUrl=https%3A%2F%2Fdownload.chitubox.com%2F17952%2Fv#{version}%2FCHITUBOX_v#{version}.dmg&softwareId=17952&softwareVersionId=v#{version}"
6+
name "CHITUBOX"
7+
desc "3D printing slicer software"
8+
homepage "https://www.chitubox.com/"
9+
10+
livecheck do
11+
url "https://sac.chitubox.com/getSoftwareVersionHistoryList.do2?softwareId=17952"
12+
strategy :json do |json|
13+
json["data"]&.filter_map { |item| item["versionId"]&.sub(/^\D+/, "") }
14+
end
15+
end
16+
17+
depends_on macos: ">= :big_sur"
18+
19+
app "CHITUBOX.app"
20+
21+
zap trash: [
22+
"~/Library/Application Support/chitubox2_0",
23+
"~/Library/Application Support/chituboxResource",
24+
]
25+
end

0 commit comments

Comments
 (0)