From dc6d92c86d83fdfba67ce957a258d80cad78c6f0 Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Wed, 18 Oct 2023 12:19:39 -0700 Subject: [PATCH] codux: add livecheck --- Casks/c/codux.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Casks/c/codux.rb b/Casks/c/codux.rb index 5c661ccd39..85b72613a1 100644 --- a/Casks/c/codux.rb +++ b/Casks/c/codux.rb @@ -11,6 +11,12 @@ cask "codux" do desc "React IDE built to visually edit component styling and layouts" homepage "https://www.codux.com/" + livecheck do + url "https://www.codux.com/download" + regex(/href=.*?Codux[._-]v?(\d+(?:\.\d+)+)[._-](?:x64|arm64).dmg/i) + strategy :page_match + end + depends_on macos: ">= :catalina" app "Codux.app"