Skip to content

Commit

Permalink
dcommander: use versioned url
Browse files Browse the repository at this point in the history
  • Loading branch information
zyoshoka committed Feb 14, 2025
1 parent 4fe54ef commit ad1b753
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Casks/d/dcommander.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
cask "dcommander" do
version "3.9.7.2"
sha256 :no_check
sha256 "bac6a148b174cc151fa1fde6bf7aa76ef855cf5412dbf067c295c174ae7232d2"

url "https://devstorm-apps.com/dc/download.php"
url "https://devstorm-apps.com/apps/DCommander-#{version.no_dots}.dmg"
name "DCommander"
desc "Two-pane file manager"
homepage "https://devstorm-apps.com/dcommander/"

livecheck do
url :url
url "https://devstorm-apps.com/dc/download.php"
regex(/DCommander[._-]v?(\d+(?:\.\d+)*)\.dmg/i)
strategy :header_match do |headers, regex|
match = headers["content-disposition"]&.match(regex)
Expand Down

0 comments on commit ad1b753

Please sign in to comment.