cask "hstracker" do version "3.3.0" sha256 "59e1c9e8b8891a71c9db5d522f63309683654ba2fe044724f752550cecec28e0" url "https://github.com/HearthSim/HSTracker/releases/download/#{version}/HSTracker.app.zip", verified: "github.com/HearthSim/HSTracker/" name "Hearthstone Deck Tracker" desc "Deck tracker and deck manager for Hearthstone" homepage "https://hsdecktracker.net/" livecheck do url "https://hsdecktracker.net/hstracker/appcast2.xml" strategy :sparkle do |items| items.map(&:short_version) end end auto_updates true depends_on macos: ">= :mojave" app "HSTracker.app" zap trash: [ "~/Library/Application Support/HSTracker", "~/Library/Application Support/net.hearthsim.hstracker", "~/Library/Caches/HSTracker", "~/Library/Caches/net.hearthsim.hstracker", "~/Library/Cookies/net.hearthsim.hstracker.binarycookies*", "~/Library/Logs/HSTracker", "~/Library/Preferences/net.hearthsim.hstracker.plist", "~/Library/Saved Application State/net.hearthsim.hstracker.savedState", ] caveats do requires_rosetta end end