double-commander 1.1.10 (strategy updated)

This commit is contained in:
rich2014
2024-02-19 13:02:41 +08:00
parent a00a52152f
commit 9e2a93b297
+4 -1
View File
@@ -13,7 +13,10 @@ cask "double-commander" do
livecheck do
url "https://sourceforge.net/projects/doublecmd/rss?path=/macOS"
regex(%r{url=["']?.*?/doublecmd[._-](\d+(?:\.\d+)+)[._-][^"']*?.dmg}i)
regex(%r{url=.*?/doublecmd[._-](\d+(?:[.-]\d+)+)[^"' ]*?\.dmg}i)
strategy :sourceforge do |page, regex|
page.scan(regex).map { |match| match[0].tr("-", ",") }
end
end
app "Double Commander.app"