phinze/homebrew-cask

View on GitHub
Casks/s/shapr3d.rb

Summary

Maintainability
A
35 mins
Test Coverage
cask "shapr3d" do
  version "5.700.0.7412"
  sha256 "4ddac048d795d2fa937859d5da416e5937a2063426b5d2989d8f702b05029a2e"

  url "https://download.shapr3d.com/mac/Shapr3D-#{version}.dmg"
  name "Shapr3D"
  desc "3D CAD software"
  homepage "https://www.shapr3d.com/"

  livecheck do
    url "https://download.shapr3d.com/mac/latest"
    strategy :header_match
  end

  depends_on macos: ">= :big_sur"

  app "Shapr3D.app"

  zap trash: [
    "~/Library/Application Scripts/com.shapr3d.shapr",
    "~/Library/Containers/com.shapr3d.shapr",
  ]
end