cask "marathon" do version "20240822" sha256 "245455ee76e44a5b08bd1bfffd309ef912b165c190d47badb747e53ffb23a1b8" url "https://github.com/Aleph-One-Marathon/alephone/releases/download/release-#{version}/Marathon-#{version}-Mac.dmg", verified: "github.com/Aleph-One-Marathon/alephone/" name "Marathon" desc "First-person shooter, first in a trilogy" homepage "https://alephone.lhowon.org/" livecheck do url :homepage regex(%r{href=.*?/Marathon[._-]v?(\d+(?:\.\d+)*)[._-]Mac\.dmg}i) end depends_on macos: ">= :high_sierra" app "Classic Marathon.app" zap trash: [ "~/Library/Application Support/Marathon", "~/Library/Logs/Marathon Log.txt", "~/Library/Preferences/Marathon", "~/Library/Saved Application State/org.bungie.source.Marathon.savedState", ] end