Skip to content

Commit

Permalink
Merge pull request #172236 from Homebrew/miccal-viable
Browse files Browse the repository at this point in the history
  • Loading branch information
krehel authored Apr 26, 2024
2 parents 6731d8c + 1960c64 commit 3d297ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Casks/v/viable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

url "https://eclecticlightdotcom.files.wordpress.com/#{version.csv.second.major}/#{version.csv.second.minor}/viable#{version.csv.first}.zip",
verified: "eclecticlightdotcom.files.wordpress.com/"
name "viable"
name "Viable"
desc "Create and run macOS virtual machines on Apple silicon Macs"
homepage "https://eclecticlight.co/virtualisation-on-apple-silicon"
homepage "https://eclecticlight.co/virtualisation-on-apple-silicon/"

livecheck do
url :homepage
regex(%r{href=.*?/uploads/(\d+)/(\d+)/viable[._-]?v?(\w+)\.zip}i)
regex(%r{href=.*?/(\d+)/(\d+)/viable[._-]?v?(\w+)\.zip}i)
strategy :page_match do |page, regex|
page.scan(regex).map do |match|
"#{match[2]},#{match[0]}.#{match[1]}"
Expand Down

0 comments on commit 3d297ec

Please sign in to comment.