Casks/d/discord@ptb.rb
cask "discord@ptb" do
version "0.0.133"
sha256 "145a7a091803fe4a42571278f9eb340da386696e6fd806be97325d1b666ef1e6"
url "https://dl-ptb.discordapp.net/apps/osx/#{version}/DiscordPTB.dmg",
verified: "dl-ptb.discordapp.net/apps/osx/"
name "Discord PTB"
desc "Voice and text chat software"
homepage "https://discord.com/"
livecheck do
url "https://discord.com/api/download/ptb?platform=osx"
strategy :header_match
end
auto_updates true
depends_on macos: ">= :catalina"
app "Discord PTB.app"
zap trash: [
"~/Library/Application Support/com.hnc.DiscordPTB.ShipIt",
"~/Library/Application Support/discordptb",
"~/Library/Caches/com.hnc.DiscordPTB",
"~/Library/Preferences/com.hnc.DiscordPTB.plist",
"~/Library/Saved Application State/com.hnc.DiscordPTB.savedState",
]
end