0-ad: add livecheck (#97143)

This commit is contained in:
Markus Reiter 2021-01-01 02:11:30 +01:00 committed by GitHub
parent 88f7432376
commit beb80346da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -4,10 +4,14 @@ cask "0-ad" do
url "https://releases.wildfiregames.com/0ad-#{version}-osx64.dmg",
verified: "releases.wildfiregames.com/"
appcast "https://play0ad.com/download/mac/"
name "0 A.D."
desc "Real-time strategy game"
homepage "https://play0ad.com/"
livecheck do
url "https://play0ad.com/download/mac/"
regex(/href=.*?0ad[._-]v?(.*?)-osx64\.dmg/i)
end
app "0 A.D.app"
end