paintbrush: add livecheck (#96505)
This commit is contained in:
parent
16a5376bde
commit
e7316334b1
|
@ -1,14 +1,20 @@
|
|||
cask "paintbrush" do
|
||||
version "2.5.0"
|
||||
version "2.5.0,20190914"
|
||||
sha256 "fca1d23f6da1ff1fe6768ba67cd692362cbf86ad9adf72431514740a37c513b6"
|
||||
|
||||
url "https://downloads.sourceforge.net/paintbrush/Paintbrush%202.x/Paintbrush%20#{version}/Paintbrush-#{version}.zip",
|
||||
url "https://downloads.sourceforge.net/paintbrush/Paintbrush%202.x/Paintbrush%20#{version.before_comma}/Paintbrush-#{version.before_comma}.zip",
|
||||
verified: "downloads.sourceforge.net/paintbrush/"
|
||||
appcast "https://paintbrush.sourceforge.io/updates#{version.major}x.xml"
|
||||
name "Paintbrush"
|
||||
desc "Image editor"
|
||||
homepage "https://paintbrush.sourceforge.io/"
|
||||
|
||||
livecheck do
|
||||
url "https://paintbrush.sourceforge.io/updates#{version.major}x.xml"
|
||||
strategy :sparkle do |item|
|
||||
"#{item.short_version}.0,#{item.version}"
|
||||
end
|
||||
end
|
||||
|
||||
app "Paintbrush.app"
|
||||
|
||||
zap trash: [
|
||||
|
|
Loading…
Reference in New Issue