cask "fathom" do arch arm: "arm64", intel: "x64" livecheck_arch = on_arch_conditional arm: "_arm64" version "1.40.0" sha256 arm: "331846264a854a889e679925a1b92316c04539b42609fb1d1e80b7c18b7398fa", intel: "52dd741512636afd4fbe28e1047d8ba1bcd90003c83a45e0fb01774e4fe6e6a8" url "https://storage.googleapis.com/electron_releases/v#{version}/Fathom-darwin-#{arch}-#{version}.dmg", verified: "storage.googleapis.com/electron_releases/" name "Fathom" desc "Record and transcribe video conferences" homepage "https://fathom.video/" livecheck do url "https://electron-update.fathom.video/update/darwin#{livecheck_arch}/0.0.0" strategy :json do |json| json["name"]&.tr("v", "") end end depends_on macos: ">= :catalina" app "Fathom.app" uninstall quit: [ "Fathom Helper", "Fathom", ] zap trash: [ "~/Library/Application Support/Fathom", "~/Library/Logs/Fathom", ] end