From 8af5bd45e625b6918e2cc92f02c4a53294abae01 Mon Sep 17 00:00:00 2001 From: Klaus Hipp Date: Wed, 28 Aug 2024 12:28:02 +0200 Subject: [PATCH] audius 1.5.95 --- Casks/a/audius.rb | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/Casks/a/audius.rb b/Casks/a/audius.rb index 9af78c1f7e8d..dd1edcfbd5cf 100644 --- a/Casks/a/audius.rb +++ b/Casks/a/audius.rb @@ -1,18 +1,31 @@ cask "audius" do - version "1.5.66" - sha256 "9ea406067b559107bb7e4de6a80b6c45413b791448cbcd1b54cb52b99b0c6084" + arch arm: "-arm64" - url "https://download.audius.co/Audius-#{version}.dmg" + on_arm do + version "1.5.95" + sha256 "d62c2db7f258052501244a90d06bdcf4d9a26fc2e4ba0194d85441dc37279f6a" + + livecheck do + url "https://download.audius.co/latest-mac.yml" + strategy :electron_builder + end + end + on_intel do + version "1.5.66" + sha256 "ed894a7eca86e9e858454f125c69b39ff2a8f8a5d27f637aa444caba7bfa4855" + + livecheck do + skip "Legacy version" + end + end + + url "https://download.audius.co/Audius-#{version}#{arch}.dmg" name "Audius" desc "Music streaming and sharing platform" homepage "https://audius.co/" - livecheck do - url "https://s3-us-west-1.amazonaws.com/download.audius.co/latest-mac.yml" - strategy :electron_builder - end - auto_updates true + depends_on macos: ">= :catalina" app "Audius.app"