darwindumper: add livecheck (#96233)

This commit is contained in:
Markus Reiter 2020-12-21 18:55:11 +01:00 committed by GitHub
parent 97b09263b4
commit 292ced8373
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 3 deletions

View File

@ -1,12 +1,18 @@
cask "darwindumper" do
version "3.1.1"
version "3.1.1,311"
sha256 "b840162363ec8d1b505a158f195c45f7969a99545150825e8d2b9e72f1cf43f5"
url "https://bitbucket.org/blackosx/darwindumper/downloads/DarwinDumper_v#{version}.zip"
appcast "https://bitbucket.org/blackosx/darwindumper/wiki/DD_AppCast.xml"
url "https://bitbucket.org/blackosx/darwindumper/downloads/DarwinDumper_v#{version.before_comma}.zip"
name "DarwinDumper"
homepage "https://bitbucket.org/blackosx/darwindumper"
livecheck do
url "https://bitbucket.org/blackosx/darwindumper/wiki/DD_AppCast.xml"
strategy :sparkle do |item|
"#{item.short_version.delete_prefix("r")},#{item.version}"
end
end
app "DarwinDumper.app"
zap trash: [