cask "vivaldi@snapshot" do version "7.1.3527.3" sha256 "e7650e55deb27a71041ad8759b3d9bbd0050f72f0cabd3a25eee3a0575e7c11d" url "https://downloads.vivaldi.com/snapshot-auto/Vivaldi.#{version}.universal.tar.xz" name "Vivaldi Snapshot" desc "Web browser with built-in email client focusing on customization and control" homepage "https://vivaldi.com/" livecheck do url "https://update.vivaldi.com/update/1.0/snapshot/mac/appcast.xml" strategy :sparkle end auto_updates true depends_on macos: ">= :big_sur" app "Vivaldi Snapshot.app" uninstall quit: "com.vivaldi.Vivaldi.snapshot" zap trash: [ "/Library/Logs/DiagnosticReports/Vivaldi Helper (Renderer)_*.diag", "/Library/Logs/DiagnosticReports/Vivaldi Snapshot_*.diag", "~/Library/Application Support/CrashReporter/Vivaldi Snapshot_*.plist", "~/Library/Application Support/Vivaldi Snapshot", "~/Library/Caches/com.vivaldi.Vivaldi.snapshot", "~/Library/Caches/Vivaldi Snapshot", "~/Library/HTTPStorages/com.vivaldi.Vivaldi.snapshot", "~/Library/Preferences/com.vivaldi.Vivaldi.snapshot.plist", "~/Library/Saved Application State/com.vivaldi.Vivaldi.snapshot.savedState", "~/Library/WebKit/com.vivaldi.Vivaldi.snapshot", ] end