espresso: add livecheck (#97733)

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

View File

@ -4,11 +4,16 @@ cask "espresso" do
url "https://downloads.kangacode.com/Espresso/Espresso_#{version}.zip",
verified: "downloads.kangacode.com/"
appcast "https://espressoapp.com/updates/"
name "Espresso"
desc "Website editor focusing on flair and efficiency"
homepage "https://espressoapp.com/"
livecheck do
url "https://espressoapp.com/updates/"
strategy :page_match
regex(%r{href=.*?/Espresso_(\d+(?:\.\d+)*)\.zip}i)
end
depends_on macos: ">= :sierra"
app "Espresso.app"