prismatik: add livecheck (#97830)

* prismatik: add livecheck

* Update prismatik.rb

Co-authored-by: Miccal Matthews <miccal.matthews@gmail.com>
This commit is contained in:
Markus Reiter 2021-01-10 20:36:35 +01:00 committed by GitHub
parent bdca7337e8
commit dfee57d591
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -4,9 +4,14 @@ cask "prismatik" do
url "https://woodenshark.com/4lightpack/Prismatik_#{version}_signed.dmg",
verified: "woodenshark.com/4lightpack/"
appcast "https://lightpack.tv/pages/downloads"
name "Prismatik"
homepage "https://lightpack.tv/pages/downloads"
livecheck do
url :homepage
strategy :page_match
regex(%r{href=.*?/Prismatik_(\d+(?:\.\d+)*)_signed\.dmg}i)
end
app "Prismatik.app"
end