Casks/m/megazeux.rb
cask "megazeux" do
version "2.93"
sha256 :no_check
url "https://www.digitalmzx.com/download.php?latest=osx"
name "MegaZeux"
desc "ASCII-based game creation system"
homepage "https://www.digitalmzx.com/"
livecheck do
url "https://www.digitalmzx.com/megazeux.php"
regex(/href=["'][^"' >]*?download\.php\?latest=osx["' ][^>]*?>\s*v?(\d+(?:\.\d+)+)\s*</im)
end
app "MegaZeux.app"
artifact "Documentation", target: "~/Library/Application Support/MegaZeux/Documentation"
zap trash: [
"~/.megazeux-config",
"~/Library/Application Support/MegaZeux",
]
caveats do
requires_rosetta
end
end