adapter: add livecheck (#97687)
This commit is contained in:
parent
6811dd1ebe
commit
4c1e733cfe
|
@ -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: [
|
||||
|
|
Loading…
Reference in New Issue