From 16a88c23323b0c82e23dccb12e23a994ff9c04f2 Mon Sep 17 00:00:00 2001 From: Bevan Kay Date: Wed, 30 Aug 2023 09:11:57 +1000 Subject: [PATCH] Update anka-build-cloud-controller-and-registry.rb --- Casks/a/anka-build-cloud-controller-and-registry.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Casks/a/anka-build-cloud-controller-and-registry.rb b/Casks/a/anka-build-cloud-controller-and-registry.rb index 34229d833d..656d8fb4a2 100644 --- a/Casks/a/anka-build-cloud-controller-and-registry.rb +++ b/Casks/a/anka-build-cloud-controller-and-registry.rb @@ -11,8 +11,8 @@ cask "anka-build-cloud-controller-and-registry" do homepage "https://veertu.com/" livecheck do - url "https://veertu.com/downloads/anka-build-cloud-controller-registry-darwin-amd64-latest" - regex(/AnkaControllerRegistryAmd64[._-]?v?(\d+(?:\.\d+)*[._-]\h+)\.pkg/i) + url "https://veertu.com/downloads/anka-build-cloud-controller-registry-darwin-#{arch.downcase}-latest" + regex(/AnkaControllerRegistry#{arch}[._-]?v?(\d+(?:\.\d+)*[._-]\h+)\.pkg/i) strategy :header_match end