cmdtap: add livecheck (#97706)

This commit is contained in:
Markus Reiter 2021-01-10 19:33:45 +01:00 committed by GitHub
parent ae1849547c
commit dee5b0f96b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -3,9 +3,14 @@ cask "cmdtap" do
sha256 "7e31179f044f3a834ea51daf250ad5085d6c8ea4bbabb8c1b193cff103d3f5ea"
url "https://www.yingdev.com/Content/Projects/CmdTap/Release/#{version}/CmdTap.zip"
appcast "https://www.yingdev.com/projects/cmdtap"
name "CmdTap"
homepage "https://www.yingdev.com/projects/cmdtap"
livecheck do
url "https://www.yingdev.com/projects/cmdtap"
strategy :page_match
regex(%r{href=.*?/(\d+(?:\.\d+)*)/CmdTap\.zip}i)
end
app "CmdTap.app"
end