From 9be3ae54275200c177efd5615106656af823198c Mon Sep 17 00:00:00 2001 From: PythonCoderAS <13932583+PythonCoderAS@users.noreply.github.com> Date: Tue, 21 May 2024 20:10:09 -0400 Subject: [PATCH 1/3] add ugg 1.7.4 --- Casks/u/ugg.rb | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Casks/u/ugg.rb diff --git a/Casks/u/ugg.rb b/Casks/u/ugg.rb new file mode 100644 index 000000000000..4dbac65e5e60 --- /dev/null +++ b/Casks/u/ugg.rb @@ -0,0 +1,28 @@ +cask "ugg" do + version "1.7.4" + sha256 "cc8f7339f49632e9afaa764a156a5c2b30461a320f719db10494fa4100765d46" + + url "https://static.bigbrain.gg/electron-app-lol/U.GG-#{version}.dmg", + verified: "static.bigbrain.gg/electron-app-lol" + name "ugg" + desc "Game analysis and champion picker" + homepage "https://u.gg/" + + livecheck do + url "https://static.bigbrain.gg/electron-app-lol/latest-mac.yml" + strategy :electron_builder + end + + auto_updates true + depends_on macos: ">= :catalina" + + app "U.GG.app" + + zap trash: [ + "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.electron.u.gg.sfl*", + "~/Library/Application Support/U.GG", + "~/Library/Logs/U.GG", + "~/Library/Preferences/com.electron.u.gg.plist", + "~/Library/Saved Application State/com.electron.u.gg.savedState", + ] +end From 18826bcb29b80a1dfaf01501b2e2f2c8a3dabd3d Mon Sep 17 00:00:00 2001 From: PythonCoderAS <13932583+PythonCoderAS@users.noreply.github.com> Date: Wed, 22 May 2024 17:42:52 -0400 Subject: [PATCH 2/3] Update Casks/u/ugg.rb Co-authored-by: Miccal Matthews --- Casks/u/ugg.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Casks/u/ugg.rb b/Casks/u/ugg.rb index 4dbac65e5e60..b2a030c71528 100644 --- a/Casks/u/ugg.rb +++ b/Casks/u/ugg.rb @@ -3,7 +3,7 @@ sha256 "cc8f7339f49632e9afaa764a156a5c2b30461a320f719db10494fa4100765d46" url "https://static.bigbrain.gg/electron-app-lol/U.GG-#{version}.dmg", - verified: "static.bigbrain.gg/electron-app-lol" + verified: "static.bigbrain.gg/electron-app-lol/" name "ugg" desc "Game analysis and champion picker" homepage "https://u.gg/" From 22e0d02aba29739203813b407c3ba0bd7bdb5cf0 Mon Sep 17 00:00:00 2001 From: PythonCoderAS <13932583+PythonCoderAS@users.noreply.github.com> Date: Wed, 22 May 2024 17:43:01 -0400 Subject: [PATCH 3/3] Update Casks/u/ugg.rb Co-authored-by: Bevan Kay --- Casks/u/ugg.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Casks/u/ugg.rb b/Casks/u/ugg.rb index b2a030c71528..c77b166c6121 100644 --- a/Casks/u/ugg.rb +++ b/Casks/u/ugg.rb @@ -4,7 +4,7 @@ url "https://static.bigbrain.gg/electron-app-lol/U.GG-#{version}.dmg", verified: "static.bigbrain.gg/electron-app-lol/" - name "ugg" + name "U GG" desc "Game analysis and champion picker" homepage "https://u.gg/"