cask "openscad@snapshot" do version "2025.07.04" sha256 "67b4ad11943f831f588c8bee6ebd67228be5cc6c6377ff09214f813acf3fff63" url "https://files.openscad.org/snapshots/OpenSCAD-#{version}.dmg" name "OpenSCAD" desc "Programmable solid 3D CAD modeller" homepage "https://www.openscad.org/downloads.html#snapshots" livecheck do url "https://files.openscad.org/snapshots/.snapshot_macos.js" regex(/OpenSCAD[._-]v?(\d+(?:\.\d+)+)\.dmg/i) end conflicts_with cask: "openscad" app "OpenSCAD.app" binary "#{appdir}/OpenSCAD.app/Contents/MacOS/OpenSCAD", target: "openscad" zap trash: [ "~/Library/Caches/org.openscad.OpenSCAD", "~/Library/Preferences/org.openscad.OpenSCAD.plist", "~/Library/Saved Application State/org.openscad.OpenSCAD.savedState", ] end