-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
/
weasis.rb
28 lines (22 loc) 路 844 Bytes
/
weasis.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
cask "weasis" do
arch arm: "aarch64", intel: "x86-64"
version "4.4.0"
sha256 arm: "205e1d2da8c7c649760e1e3daff7644f20b41d86abbfe19115765c5a026a92cb",
intel: "a696d9ac7a834eb37400c74006a859a460d5c3766290de48cc43707427a571b2"
url "https://github.com/nroduit/Weasis/releases/download/v#{version}/Weasis-#{version}-#{arch}.pkg"
name "Weasis"
desc "Free DICOM viewer for displaying and analyzing medical images"
homepage "https://github.com/nroduit/Weasis"
auto_updates true
depends_on macos: ">= :sierra"
pkg "Weasis-#{version}-#{arch}.pkg"
uninstall pkgutil: [
"org.weasis.launcher",
"org.weasis.viewer",
],
delete: "/Applications/Weasis.app"
zap trash: [
"~/.weasis",
"~/Library/Saved Application State/org.weasis.launcher.savedState",
]
end