cask "shearwater-cloud" do version "2.12.1" sha256 "c287cf0fc2db84198b223d15ef2ca5240bd8d40d4cfbf6d811e37f6459e82bff" url "https://downloads.shearwater.com/livedownloads/ShearwaterCloudInstaller_#{version}.dmg" name "Shearwater Cloud" desc "Review, edit and share dive log data" homepage "https://shearwater.com/" livecheck do url "https://shearwater.com/pages/shearwater-cloud" regex(/href=.*?ShearwaterCloudInstaller[._-]v?(\d+(?:\.\d+)+)\.dmg/i) end depends_on macos: ">= :high_sierra" app "Shearwater Cloud.app" zap trash: "~/Library/Containers/unity.Shearwater-Research.Shearwater" caveats do requires_rosetta end end