the-archive-browser: add livecheck (#96658)
This commit is contained in:
parent
9e21c55717
commit
ff7f12056b
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue