Skip to content

Commit

Permalink
openra-fractured-realms: add version 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
babo4d committed Sep 15, 2024
1 parent 695e8f9 commit 43bc21f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions bucket/openra-fractured-realms.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"version": "1.2",
"description": "OpenRA mod inspired by C&C and Starcraft",
"homepage": "https://www.moddb.com/mods/fractured-realms",
"license": "Freeware",
"url": "https://www.moddb.com/downloads/start/254209#/dl.html",
"installer": {
"script": [
"echo ''",
"echo \"Downloading content from moddb...\"",
"$dlFile = 'dl.7z'",
"(Get-Content \"$dir\\$fname\").foreach{ if ($_ -match \"/downloads/mirror/[\\d]+/[\\w]+/[\\w]+\") { $dlMatch = $matches[0] } }",
"Invoke-CachedDownload $app $version \"https://www.moddb.com$dlMatch#/$dlFile\" \"$dir\\$dlFile\"",
"Expand-7zipArchive \"$dir\\$dlFile\" \"$dir\" -Removal",
"Remove-Item -Force \"$dir\\$fname\""
]
},
"shortcuts": [
[
"Fractured Realms.exe",
"OpenRA - Fractured Realms"
]
],
"checkver": {
"url": "https://www.moddb.com/mods/fractured-realms/downloads",
"regex": "Fractured Realms release v(?<version>[\\d.]+)"
}
}

0 comments on commit 43bc21f

Please sign in to comment.