39 lines
1.2 KiB
JSON
39 lines
1.2 KiB
JSON
{
|
|
"version": "3.1",
|
|
"description": "World War II-themed singleplayer FPS running on the GZDoom engine",
|
|
"homepage": "https://boa.realm667.com/",
|
|
"license": "GPL-3.0-or-later",
|
|
"url": "https://www.moddb.com/downloads/start/213227#/dl.html",
|
|
"pre_install": [
|
|
"'boa-launcher.ini' | ForEach-Object {",
|
|
" if (!(Test-Path \"$persist_dir\\$_\")) {",
|
|
" New-Item -ItemType File \"$dir\\$_\" | Out-Null",
|
|
" }",
|
|
"}"
|
|
],
|
|
"installer": {
|
|
"script": [
|
|
"(Get-Content \"$dir\\dl.html\").foreach{ if ($_ -match \"/downloads/mirror/213227/[\\d]{3}/[\\da-f]{32}\") { $fileUrl = $matches[0] } }",
|
|
"$dlFile = 'dl.zip'",
|
|
"$archiveUrls = @(",
|
|
" \"https://www.moddb.com$fileUrl\"",
|
|
")",
|
|
"$archiveUrls | ForEach-Object {",
|
|
" dl_with_cache $app $version \"$_\" \"$dir\\$dlFile\"",
|
|
" Expand-7zipArchive \"$dir\\$dlFile\" \"$dir\" -Removal",
|
|
"}",
|
|
"Remove-Item -Force \"$dir\\dl.html\""
|
|
]
|
|
},
|
|
"shortcuts": [
|
|
[
|
|
"Blade of Agony - Launcher.exe",
|
|
"Blade of Agony"
|
|
]
|
|
],
|
|
"persist": [
|
|
"boa-launcher.ini",
|
|
"Save"
|
|
]
|
|
}
|