3 sha256 "6613cf7f0ae9a6737eeec8a15f3110e53cb6986b51f3a236913046e8d3769d00"
5 url "https://eclecticlightdotcom.files.wordpress.com/#{version.csv.second.major}/#{version.csv.second.minor}/viable#{version.csv.first}.zip",
6 verified: "eclecticlightdotcom.files.wordpress.com/"
8 desc "Create and run macOS virtual machines on Apple silicon Macs"
9 homepage "https://eclecticlight.co/virtualisation-on-apple-silicon/"
13 regex(%r{href=.*?/(\d+)/(\d+)/viable[._-]?v?(\w+)\.zip}i)
14 strategy :page_match do |page, regex|
15 page.scan(regex).map do |match|
16 "#{match[2]},#{match[0]}.#{match[1]}"
21 depends_on macos: ">= :monterey"
23 app "viable#{version.csv.first}/Viable.app"
26 "~/Library/Caches/co.eclecticlight.Viable",
27 "~/Library/HTTPStorages/co.eclecticlight.Viable",
28 "~/Library/Preferences/co.eclecticlight.Viable.plist",
29 "~/Library/Saved Application State/co.eclecticlight.Viable.savedState",