cask "signal@beta" do arch arm: "arm64", intel: "x64" version "7.34.0-beta.2" sha256 arm: "faeeabda041f49c77cee9f0d5bfbff3a1b86134250d54b944a1afc480933ae69", intel: "2a03cf30f329c550802f309511603e90e99aaf3905796986a7cffb3d532ed256" url "https://updates.signal.org/desktop/signal-desktop-beta-mac-#{arch}-#{version}.dmg" name "Signal Beta" desc "Instant messaging application focusing on security" homepage "https://signal.org/" livecheck do url "https://github.com/signalapp/Signal-Desktop" regex(/^v?(\d+(?:\.\d+)+[._-]beta\.\d+)$/i) end auto_updates true depends_on macos: ">= :catalina" app "Signal Beta.app" zap trash: [ "~/Library/Application Support/Signal", "~/Library/Preferences/org.whispersystems.signal-desktop.helper.plist", "~/Library/Preferences/org.whispersystems.signal-desktop.plist", "~/Library/Saved Application State/org.whispersystems.signal-desktop.savedState", ] end