Merge pull request #166588 from HuaDeity/opgg

Cask:opgg update version, livecheck and zap
This commit is contained in:
Bevan Kay
2024-02-13 08:54:35 +00:00
committed by GitHub
+14 -6
View File
@@ -1,19 +1,27 @@
cask "opgg" do
version "1.1.22"
sha256 "0d1feef9dabc79d6bab304bf7c6964e24af89e48ea980152b2610025d02488e2"
version "1.2.10"
sha256 "6e7c6be944a7ca2da81118c4ead0436686d3aa5ddbee7aa771873e8578b188cb"
url "https://opgg-desktop-patch.akamaized.net/OP.GG-#{version}.dmg",
verified: "opgg-desktop-patch.akamaized.net/"
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-app-update.s3.amazonaws.com/latest-mac.yml"
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"
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