Skip to content

Commit

Permalink
Merge pull request #189867 from Homebrew/update-dymo-label
Browse files Browse the repository at this point in the history
dymo-label: add livecheck
  • Loading branch information
daeho-ro authored Oct 28, 2024
2 parents a4c4f10 + 3014a4d commit fd456cb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Casks/d/dymo-label.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit fd456cb

Please sign in to comment.