cask "dashcam-viewer" do version "4.0.6" sha256 "326b93c27a8af8c082d1b66ad39e7655ae436371719129ad51e4a495ea1d39d9" url "https://filedn.com/l2s8TAtm4VASBX72ds0zYD8/dcv/Dashcam_Viewer_v#{version}.dmg", verified: "filedn.com/l2s8TAtm4VASBX72ds0zYD8/dcv/" name "Dashcam Viewer" name "Dashcam Viewer by Earthshine Software" desc "View videos, GPS data, and G-force data recorded by dashcams and action cams" homepage "https://dashcamviewer.com/" livecheck do url "https://dashcamviewer.com/free-trial/" regex(%r{href=.*?/Dashcam[._-]Viewer[._-]v?(\d+(?:\.\d+)+)\.dmg}i) end depends_on macos: ">= :monterey" app "Dashcam Viewer.app" zap trash: [ "~/Library/Application Support/earthshinesw", "~/Library/Caches/earthshinesw", "~/Library/Preferences/com.earthshinesw.DashcamViewer.plist", ] caveats do requires_rosetta end end