cask "archy" do version "2.31.0" sha256 "087fa0b10a85264cefdf07b3b04e11f9e29fa9f37dfd0a57d4b3f55e815f779f" url "https://sdk-cdn.mypurecloud.com/archy/#{version}/archy-macos.zip", verified: "sdk-cdn.mypurecloud.com/archy/" name "Archy" desc "YAML processor" homepage "https://developer.genesys.cloud/devapps/archy/" livecheck do url "https://sdk-cdn.mypurecloud.com/archy/versions.json" strategy :json do |json| json.map { |item| item["version"] } end end binary "archyBin/archy-macos-#{version}", target: "archy" zap trash: "~/.archy_config" caveats do requires_rosetta end end