pixel-check: add livecheck (#97822)

This commit is contained in:
Markus Reiter 2021-01-10 20:13:32 +01:00 committed by GitHub
parent 836f6a3d9c
commit c4892163ff
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 "pixel-check" do
sha256 "99da44c4538463c6476be2f7d6584a4e5a9bfa175895d72e5baf1f3271316b02"
url "http://macguitar.me/apps/pixelcheck/PXC#{version}.zip"
appcast "http://macguitar.me/apps/pixelcheck/"
name "PiXel Check"
homepage "http://macguitar.me/apps/pixelcheck/"
livecheck do
url "http://macguitar.me/apps/pixelcheck/"
strategy :page_match
regex(%r{href=.*?/PXC(\d+(?:\.\d+)*)\.zip}i)
end
app "PiXel Check #{version}/PiXel Check.app"
end