cask "pretzel" do version "2.12.6" sha256 "eb43584c57a050bdecbf12ae61c28e2714b19f713ff309726eab02ff9b6e4bb5" url "https://download.pretzel.rocks/Pretzel-#{version}-universal-mac.zip" name "Pretzel" desc "DMCA-safe music for creators" homepage "https://www.pretzel.rocks/" livecheck do url "https://download.pretzel.rocks/latest-mac.yml" strategy :electron_builder end depends_on macos: ">= :catalina" app "Pretzel.app" zap trash: [ "~/Library/Application Support/@pretzel-aux", "~/Library/Logs/Pretzel", "~/Library/Preferences/rocks.pretzel.plist", "~/Library/Saved Application State/rocks.pretzel.savedState", ] end