2 arch arm: "osx-aarch64", intel: "osx64"
5 sha256 arm: "3ef9a974ffa6f32577ba54f73b34a9d81a3798781fd8e30ea836626e3fdd3ac5",
6 intel: "f8f0f9237d33f3b2acabc1d5b50ee6da32768231d5610a2ff52d1e65df76bf2c"
8 url "https://releases.wildfiregames.com/0ad-#{version}-#{arch}.dmg",
9 verified: "releases.wildfiregames.com/"
11 desc "Real-time strategy game"
12 homepage "https://play0ad.com/"
15 url "https://play0ad.com/download/mac/"
16 regex(/href=.*?0ad[._-]v?(.*?)[._-]#{arch}\.dmg/i)
19 depends_on macos: ">= :sierra"
23 zap trash: "~/Library/Saved Application State/com.wildfiregames.0ad.savedState"