dcommander: add livecheck (#96972)

This commit is contained in:
Markus Reiter 2020-12-27 12:49:51 +01:00 committed by GitHub
parent 369771603f
commit 53c4a43eee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 3 deletions

View File

@ -1,14 +1,19 @@
cask "dcommander" do
version "3.8.9,3891"
version "3.8.9.1"
sha256 :no_check
url "https://devstorm-apps.com/dc/download.php"
appcast "https://www.macupdater.net/cgi-bin/check_urls/check_url_filename.cgi?url=https://devstorm-apps.com/dc/download.php",
must_contain: version.after_comma
name "DCommander"
desc "Two-pane file manager"
homepage "https://devstorm-apps.com/dc/"
livecheck do
url "https://devstorm-apps.com/dc/download.php"
strategy :header_match do |headers|
headers["content-disposition"][/DCommander-(\d+)\.dmg/i, 1].split("", 4).join(".")
end
end
app "DCommander.app"
zap trash: "~/Library/Containers/com.devstorm.dc3"