grids: make livecheck parse JSON (#116118)
This commit is contained in:
parent
5388d5fa65
commit
cc7c7add6b
|
@ -9,7 +9,9 @@ cask "grids" do
|
|||
|
||||
livecheck do
|
||||
url "https://gridsapp.net/appcast.json"
|
||||
regex(/"mac"\s*:\s*"v?(\d+(?:\.\d+)+)"/i)
|
||||
strategy :page_match do |page|
|
||||
JSON.parse(page)["version"]["mac"]
|
||||
end
|
||||
end
|
||||
|
||||
auto_updates true
|
||||
|
|
Loading…
Reference in New Issue