the-archive-browser: add livecheck (#96658)

This commit is contained in:
Markus Reiter 2020-12-22 18:15:53 +01:00 committed by GitHub
parent 9e21c55717
commit ff7f12056b
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,13 +1,19 @@
cask "the-archive-browser" do
version "1.11.2,1504018288"
version "1.11.2,111:1504018288"
sha256 "a9cffc4d7a4e9869c9b7542dff7b9614c487623fce6404ce779b0c4b654eb72b"
url "https://dl.devmate.com/cx.c3.thearchivebrowser/#{version.major_minor.no_dots}/#{version.after_comma}/TheArchiveBrowser-#{version.major_minor.no_dots}.zip",
url "https://dl.devmate.com/cx.c3.thearchivebrowser/#{version.after_comma.before_colon}/#{version.after_colon}/TheArchiveBrowser-#{version.after_comma.before_colon}.zip",
verified: "dl.devmate.com/cx.c3.thearchivebrowser/"
appcast "https://updates.devmate.com/cx.c3.thearchivebrowser.xml"
name "The Archive Browser"
homepage "https://theunarchiver.com/archive-browser"
livecheck do
url "https://updates.devmate.com/cx.c3.thearchivebrowser.xml"
strategy :sparkle do |item|
"#{item.short_version},#{item.version}:#{item.url[%r{/(\d+)/TheArchiveBrowser-\d+\.zip}i, 1]}"
end
end
auto_updates true
app "The Archive Browser.app"