cask "ferdium" do arch arm: "arm64", intel: "x64" version "7.1.0" sha256 arm: "469aba87967dfad39cbda4f060ce9e303178292353b30225e154f1b6facff4f5", intel: "6f8a501bbb474926b1b6bb0d0b2845e561b0c08edd2d90b0b69c982ddb90ae9e" url "https://github.com/ferdium/ferdium-app/releases/download/v#{version}/Ferdium-mac-#{version}-#{arch}.dmg", verified: "github.com/ferdium/ferdium-app/" name "Ferdium" desc "Multi-platform multi-messaging app" homepage "https://ferdium.org/" livecheck do url :url strategy :github_latest end auto_updates true depends_on macos: ">= :big_sur" app "Ferdium.app" uninstall quit: "com.ferdium.ferdium-app", delete: "/Library/Logs/DiagnosticReports/Ferdium Helper_.*wakeups_resource.diag" zap trash: [ "~/Library/Application Support/Caches/ferdium-updater", "~/Library/Application Support/Ferdium", "~/Library/Caches/com.ferdium.ferdium-app", "~/Library/Caches/com.ferdium.ferdium-app.ShipIt", "~/Library/Logs/Ferdium", "~/Library/Preferences/ByHost/com.ferdium.ferdium-app.ShipIt.*.plist", "~/Library/Preferences/com.electron.ferdium.helper.plist", "~/Library/Preferences/com.electron.ferdium.plist", "~/Library/Preferences/com.ferdium.ferdium-app.plist", "~/Library/Saved Application State/com.ferdium.ferdium-app.savedState", ] end