From 3014a4d36f3f9d81a26781bc9560cb6dc524a8c4 Mon Sep 17 00:00:00 2001 From: Klaus Hipp Date: Sat, 26 Oct 2024 21:10:41 +0200 Subject: [PATCH] dymo-label: add livecheck --- Casks/d/dymo-label.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Casks/d/dymo-label.rb b/Casks/d/dymo-label.rb index b0d3bfc9bbeac..bdf4043a104bc 100644 --- a/Casks/d/dymo-label.rb +++ b/Casks/d/dymo-label.rb @@ -7,8 +7,11 @@ desc "Software for DYMO LabelWriters" homepage "https://www.dymo.com/support?cfid=online-support" + # This can return a page with a CAPTCHA instead of the expected content + # (e.g. when the check is run in the homebrew/cask CI environment). livecheck do - skip "No version information available" + url :homepage + regex(/href=.*?DCDMacv?(\d+(?:\.\d+)+)\.pkg/i) end pkg "DCDMac#{version}.pkg"