Skip to content

Commit

Permalink
Merge pull request #172272 from singularitti/crystalmaker
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanazamfirei authored Apr 27, 2024
2 parents 63a0aae + 1fda0a6 commit 10b155b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Casks/c/crystalmaker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@

livecheck do
url "https://crystalmaker.com/support/updates/VersionData-CMM.xml"
regex(/<version[^>]+?number=["']?v?(\d+(?:\.\d+)+)["']?[^>]*?>/i)
strategy :xml do |xml|
xml.get_elements("//version").map { |item| item.attributes["number"] }
end
end

depends_on macos: ">= :mojave"
Expand Down

0 comments on commit 10b155b

Please sign in to comment.