mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
25 lines
763 B
Ruby
25 lines
763 B
Ruby
cask "marathon" do
|
|
version "20231125"
|
|
sha256 "5d4bc15823dd917010c116d9ff2d029ffbab77dc891fecf27943a003a3c6a0d5"
|
|
|
|
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
|
|
|
|
app "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
|