mblock: use `header_match` livecheck strategy
This commit is contained in:
parent
36209d2cd5
commit
5c190eafd0
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue