cask "discord@canary" do version "0.0.629" sha256 "05fd4563b88470fc6fa06e176fbfb8acbf6c6fdee225702515eb1c9b166b6b3e" url "https://dl-canary.discordapp.net/apps/osx/#{version}/DiscordCanary.dmg", verified: "dl-canary.discordapp.net/" name "Discord Canary" desc "Voice and text chat software" homepage "https://canary.discord.com/" livecheck do url "https://discord.com/api/download/canary?platform=osx" strategy :header_match end auto_updates true depends_on macos: ">= :catalina" app "Discord Canary.app" zap trash: [ "~/Library/Application Support/discordcanary", "~/Library/Caches/com.hnc.DiscordCanary", "~/Library/Caches/com.hnc.DiscordCanary.ShipIt", "~/Library/Cookies/com.hnc.DiscordCanary.binarycookies", "~/Library/Preferences/com.hnc.DiscordCanary.helper.plist", "~/Library/Preferences/com.hnc.DiscordCanary.plist", "~/Library/Saved Application State/com.hnc.DiscordCanary.savedState", ] end