26 lines
798 B
Ruby
26 lines
798 B
Ruby
cask "aleph-one" do
|
|
version "20240513"
|
|
sha256 "9e1c916c70ba28c5db00e173c1d92165f46a7b512519cb32211d1f1e3dab1f24"
|
|
|
|
url "https://github.com/Aleph-One-Marathon/alephone/releases/download/release-#{version}/AlephOne-#{version}-Mac.dmg",
|
|
verified: "github.com/Aleph-One-Marathon/alephone/"
|
|
name "Aleph One"
|
|
desc "Open-source continuation of Bungie's Marathon 2 game engine"
|
|
homepage "https://alephone.lhowon.org/"
|
|
|
|
livecheck do
|
|
url :homepage
|
|
regex(%r{href=.*?/AlephOne[._-]v?(\d+(?:\.\d+)*)[._-]Mac\.dmg}i)
|
|
end
|
|
|
|
depends_on macos: ">= :high_sierra"
|
|
|
|
app "Aleph One.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Logs/Aleph One Log.txt",
|
|
"~/Library/Preferences/org.bungie.source.AlephOne*",
|
|
"~/Library/Saved Application State/org.bungie.source.AlephOne.savedState",
|
|
]
|
|
end
|