subnetcalc: add livecheck (#97876)

This commit is contained in:
Markus Reiter 2021-01-11 01:04:29 +01:00 committed by GitHub
parent e895714147
commit 4d59d8a124
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -12,5 +12,11 @@ cask "subnetcalc" do
desc "Tool to calculate IP subnets"
homepage "http://subnetcalc.free.fr/"
livecheck do
url :homepage
strategy :page_match
regex(%r{href=.*?/subnetcalc-(\d+(?:\.\d+)*)\.dmg}i)
end
app "SubnetCalc.app"
end