From a97a1cf2a7c70794a5eea1699eef2a432cf2129b Mon Sep 17 00:00:00 2001 From: Bevan Kay Date: Wed, 7 Feb 2024 19:35:25 +0000 Subject: [PATCH] elgato-control-center 1.5 --- Casks/e/elgato-control-center.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Casks/e/elgato-control-center.rb b/Casks/e/elgato-control-center.rb index 5faa956265..79057e12a0 100644 --- a/Casks/e/elgato-control-center.rb +++ b/Casks/e/elgato-control-center.rb @@ -1,15 +1,15 @@ cask "elgato-control-center" do - version "1.5.20289" + version "1.5,20289" sha256 "af12ee122b9247c89257e747765ab9d5cb3316a085e9e415ec7ba547c927fadf" - url "https://edge.elgato.com/egc/macos/eccm/#{version.major_minor}/ControlCenterMac-#{version}.app.zip" + url "https://edge.elgato.com/egc/macos/eccm/#{version.major_minor}/ControlCenterMac-#{version.csv.first}.#{version.csv.second}.app.zip" name "Elgato Control Center" desc "Control your Elgato key lights" homepage "https://www.elgato.com/ww/en/s/downloads" livecheck do - url "https://www.elgato.com/graphql?query=query%20contentJson(%24identifier%3A%5BString%5D%24contentType%3AString%24options%3AContentJsonOptionsInput)%7BcontentJson(identifiers%3A%24identifier%20contentType%3A%24contentType%20options%3A%24options)%7Bidentifier%20entries%7D%7D&operationName=contentJson&variables=%7B%22contentType%22%3A%22downloads%22%2C%22identifier%22%3A%5B%22downloads%22%5D%2C%22options%22%3A%7B%22level%22%3A1%7D%7D&locale=en-US" - regex(/ControlCenterMac[._-]v?(\d+(?:\.\d+)+)\.app\.zip/i) + url "https://gc-updates.elgato.com/mac/control-center-update/feed.xml" + strategy :sparkle end depends_on macos: ">= :mojave"