birdfont: add livecheck (#97696)
* birdfont: add livecheck * Update birdfont.rb
This commit is contained in:
parent
9443218952
commit
8c9dd87e1e
|
@ -7,11 +7,16 @@ cask "birdfont" do
|
|||
sha256 "067755cd2e02a70997aac3cb29a49ab2ec1c304c30d89f58b96add0df7802c88"
|
||||
else
|
||||
version "4.8.11"
|
||||
sha256 "067755cd2e02a70997aac3cb29a49ab2ec1c304c30d89f58b96add0df7802c88"
|
||||
sha256 "2289fefc1ba248ed680d8448d433aa1a65ec7bfa9f26b4056652bcebfff846d0"
|
||||
|
||||
livecheck do
|
||||
url "https://birdfont.org/purchase.php"
|
||||
strategy :page_match
|
||||
regex(%r{href=.*?/birdfont-(\d+(?:\.\d+)*)-free\.dmg}i)
|
||||
end
|
||||
end
|
||||
|
||||
url "https://birdfont.org/download/birdfont-#{version}-free.dmg"
|
||||
appcast "https://birdfont.org/purchase.php"
|
||||
name "BirdFont"
|
||||
desc "Free font editor"
|
||||
homepage "https://birdfont.org/"
|
||||
|
|
Loading…
Reference in New Issue