cask "godot@3" do version "3.6.3" sha256 "5324c4ef7105e6f60a0efb91d448ed36747694821eac091b29104a470d197497" url "https://github.com/godotengine/godot/releases/download/#{version}-stable/Godot_v#{version}-stable_osx.universal.zip" name "Godot Engine" desc "Game development engine" homepage "https://godotengine.org/" livecheck do url :url regex(/^v?(3(?:\.\d+)+)[._-]stable$/i) end conflicts_with cask: "godot" depends_on :macos app "Godot.app" binary "#{appdir}/Godot.app/Contents/MacOS/Godot", target: "godot" uninstall quit: "org.godotengine.godot" zap trash: [ "~/Library/Application Support/Godot", "~/Library/Caches/Godot", "~/Library/Saved Application State/org.godotengine.godot.savedState", ] end