Files
2024-02-22 19:48:52 +05:30

28 lines
767 B
Ruby

cask "opgg" do
version "1.4.1"
sha256 "e2d7ab2eb6d108b869d71d6efcadbb1a24d43f875e09ea53af9093fbd32266a0"
url "https://desktop-patch.op.gg/update/general/OP.GG-#{version}.dmg"
name "OP.GG Desktop"
desc "Game records and champion analysis"
homepage "https://op.gg/desktop/"
livecheck do
url "https://desktop-patch.op.gg/update/general/latest-mac.yml"
strategy :electron_builder
end
auto_updates true
app "OP.GG.app"
zap trash: [
"~/Library/Application Support/opgg-electron-app",
"~/Library/Caches/desktop.op.gg",
"~/Library/Caches/desktop.op.gg.ShipIt",
"~/Library/HTTPStorages/desktop.op.gg",
"~/Library/Preferences/desktop.op.gg.plist",
"~/Library/Saved Application State/desktop.op.gg.savedState",
]
end