mblock: use `header_match` livecheck strategy

This commit is contained in:
Bevan Kay 2023-09-06 13:06:30 +10:00 committed by GitHub
parent 36209d2cd5
commit 5c190eafd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,8 @@ cask "mblock" do
homepage "https://www.mblock.cc/"
livecheck do
url "https://www.mblock.cc/en/download/"
regex(/<span>Version: V?(\d+(?:\.\d+)+)</i)
url "https://s.mblock.cc/download/pc-mac"
strategy :header_match
end
depends_on macos: ">= :sierra"