29 lines
805 B
Ruby
29 lines
805 B
Ruby
class AutosegDesktop < Formula
|
|
desc "RT Medical AutoSeg Desktop - DICOM relay client for autoseg cloud"
|
|
homepage "https://rtmedical.ai"
|
|
version "0.1.0"
|
|
|
|
on_macos do
|
|
if Hardware::CPU.arm?
|
|
url "https://pkg.rtmedical.ai/apps/-/packages/generic/autoseg-desktop/0.1.0/autoseg-desktop_0.1.0_aarch64.dmg.tar.gz"
|
|
sha256 "PLACEHOLDER_AARCH64_SHA256"
|
|
else
|
|
url "https://pkg.rtmedical.ai/apps/-/packages/generic/autoseg-desktop/0.1.0/autoseg-desktop_0.1.0_x86_64.dmg.tar.gz"
|
|
sha256 "PLACEHOLDER_X86_64_SHA256"
|
|
end
|
|
end
|
|
|
|
def install
|
|
prefix.install "AutoSeg Desktop.app"
|
|
end
|
|
|
|
app "AutoSeg Desktop.app"
|
|
|
|
def caveats
|
|
<<~EOS
|
|
AutoSeg Desktop requires macOS 10.15 or later.
|
|
Launch from Applications or via: open -a "AutoSeg Desktop"
|
|
EOS
|
|
end
|
|
end
|