Skip to content

Commit

Permalink
openra-playtest: migrate
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanazamfirei committed Apr 30, 2024
1 parent 13712a7 commit c20fdff
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
28 changes: 28 additions & 0 deletions Casks/o/openra-playtest.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
cask "openra-playtest" do
version "20230927"
sha256 "975261f592b4452662e5064afbbefab0ae4d735763c402ef453ec1dc4443e76d"

url "https://github.com/OpenRA/OpenRA/releases/download/playtest-#{version}/OpenRA-playtest-#{version}.dmg",
verified: "github.com/OpenRA/OpenRA/"
name "OpenRA (playtest)"
desc "Real-time strategy game engine for Westwood games"
homepage "https://www.openra.net/"

livecheck do
url :url
regex(/^playtest[._-]v?(\d+(?:[.-]\d+)*)$/i)
end

conflicts_with cask: "openra"

app "OpenRA - Dune 2000.app"
app "OpenRA - Red Alert.app"
app "OpenRA - Tiberian Dawn.app"

zap trash: [
"~/Library/Application Support/OpenRA",
"~/Library/Saved Application State/net.openra.mod.cnc.savedState",
"~/Library/Saved Application State/net.openra.mod.d2k.savedState",
"~/Library/Saved Application State/net.openra.mod.ra.savedState",
]
end
1 change: 1 addition & 0 deletions audit_exceptions/github_prerelease_allowlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"my-budget": "all",
"netnewswire@beta": "all",
"nuclear": "all",
"openra-playtest": "all",
"plugdata": "all",
"pock": "all",
"profilecreator": "all",
Expand Down

0 comments on commit c20fdff

Please sign in to comment.