diff --git a/Casks/b/blitz-gg.rb b/Casks/b/blitz-gg.rb new file mode 100644 index 000000000000..973595ec7ef5 --- /dev/null +++ b/Casks/b/blitz-gg.rb @@ -0,0 +1,35 @@ +cask "blitz-gg" do + version "2.1.165" + sha256 "27200493c22532a90d60a4059d486fb8295b7eafe36221f5d9c69dcd82fb0b75" + + url "https://blitz-main.blitz.gg/Blitz-x64-#{version}.dmg" + name "Blitz" + desc "Performance analysis software" + homepage "https://blitz.gg/" + + livecheck do + url "https://blitz.gg/download/mac" + strategy :header_match + end + + auto_updates true + depends_on macos: ">= :high_sierra" + + app "Blitz.app" + + uninstall quit: "com.blitz.app" + + zap trash: [ + "~/Library/Application Support/Blitz", + "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.blitz.app.sfl*", + "~/Library/Caches/com.blitz.app.ShipIt", + "~/Library/Cookies/com.blitz.app.binarycookies", + "~/Library/Logs/Blitz", + "~/Library/Preferences/com.blitz.app.plist", + "~/Library/Saved Application State/com.blitz.app.savedState", + ] + + caveats do + requires_rosetta + end +end