mblock: update livecheck

Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
Rui Chen 2023-09-05 22:06:02 -04:00
parent 5d03782a1d
commit 36209d2cd5
No known key found for this signature in database
GPG Key ID: 6577287BDCA70840
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://mblock.makeblock.com/en-us/download/"
regex(/href=.*?V?(\d+(?:\.\d+)+)\.pkg/i)
url "https://www.mblock.cc/en/download/"
regex(/<span>Version: V?(\d+(?:\.\d+)+)</i)
end
depends_on macos: ">= :sierra"