adapter: add livecheck (#97687)

This commit is contained in:
Markus Reiter 2021-01-10 19:40:31 +01:00 committed by GitHub
parent 6811dd1ebe
commit 4c1e733cfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -3,10 +3,15 @@ cask "adapter" do
sha256 "ef2de9f0795cd446d26a4de1180b2580402abe8e5f13368e42d8da39eadde729"
url "https://assets.macroplant.com/download/4/Adapter-#{version}.dmg"
appcast "https://macroplant.com/adapter"
name "Adapter"
homepage "https://macroplant.com/adapter"
livecheck do
url "https://macroplant.com/adapter"
strategy :page_match
regex(%r{href=.*?/Adapter-(\d+(?:\.\d+)*)\.dmg}i)
end
app "Adapter.app"
zap trash: [