cask "ferdium" do arch arm: "arm64", intel: "x64" version "7.0.0" sha256 arm: "92f597e74cb8a56e1e723c21b1e50e15a8a6175d0ca821e30b5addd1fddd09d1", intel: "c65b169c2c26a39ca757ad3c421be53747ad4fe9cd7858446f0896b5e3ac8a6e" 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 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