cask "shortwave" do version "2025.5.2" sha256 "4eebbf080b5b60c040f2dc67b933ef0cf1cd2b75bbccf9536fffc0b2667aa5f6" url "https://storage.googleapis.com/shortwave-downloads/desktop_app/darwin/universal/Shortwave-darwin-universal-#{version}.zip", verified: "storage.googleapis.com/shortwave-downloads/" name "Shortwave" desc "Email client" homepage "https://www.shortwave.com/" livecheck do url "https://storage.googleapis.com/shortwave-downloads/desktop_app/darwin/universal/RELEASES.json" strategy :json do |json| json["currentRelease"] end end auto_updates true depends_on macos: ">= :catalina" app "Shortwave.app" zap trash: [ "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.electron.shortwave.sfl*", "~/Library/Application Support/Shortwave", "~/Library/Caches/com.electron.shortwave", "~/Library/Caches/com.electron.shortwave.ShipIt", "~/Library/HTTPStorages/com.electron.shortwave", "~/Library/Logs/Shortwave", "~/Library/Preferences/com.electron.shortwave.plist", "~/Library/Saved Application State/com.electron.shortwave.savedState", ] end