deepgit: update livecheck

This commit is contained in:
Sam Ford
2023-11-04 14:46:41 -04:00
parent 4b54737b1f
commit f3d612702f
+1 -1
View File
@@ -11,7 +11,7 @@ cask "deepgit" do
homepage "https://www.syntevo.com/deepgit/"
livecheck do
url "https://syntevo.com/deepgit/download"
url "https://www.syntevo.com/deepgit/download/"
regex(%r{href=.*?/deepgit-#{arch}-(\d+(?:_\d+)+)\.dmg}i)
strategy :page_match do |page, regex|
page.scan(regex)&.map { |match| match[0].tr("_", ".") }