papyrus: update livecheck

This commit is contained in:
Sam Ford
2023-11-04 14:46:44 -04:00
parent b8e7384cb4
commit 61147c1fb4
+1 -1
View File
@@ -8,7 +8,7 @@ cask "papyrus" do
homepage "https://eclipse.org/papyrus/"
livecheck do
url "https://www.eclipse.org/papyrus/download.html"
url "https://eclipse.dev/papyrus/download.html"
regex(%r{href=.*?/papyrus-(\d+(?:-\d+)*)-(\d+(?:\.\d+)*)-macosx64\.tar\.gz}i)
strategy :page_match do |page, regex|
page.scan(regex).map { |match| "#{match[1]},#{match[0]}" }