72 lines
2.7 KiB
JSON
72 lines
2.7 KiB
JSON
[
|
|
{
|
|
"UpdateStageName":"Userraw Directory Creation",
|
|
"UpdateSourcePlatform":"All",
|
|
"UpdateSource":"CreateDirectory",
|
|
"UpdateSourceArgs":"{{$FullBaseDir}}userraw"
|
|
},
|
|
{
|
|
"UpdateStageName":"Mods Directory Creation",
|
|
"UpdateSourcePlatform":"All",
|
|
"UpdateSource":"CreateDirectory",
|
|
"UpdateSourceArgs":"{{$FullBaseDir}}mods"
|
|
},
|
|
{
|
|
"UpdateStageName":"SteamCMD Game Download",
|
|
"UpdateSourcePlatform":"All",
|
|
"UpdateSource":"SteamCMD",
|
|
"UpdateSourceData":"10190",
|
|
"UpdateSourceArgs":"10190",
|
|
"ForceDownloadPlatform":"Windows"
|
|
},
|
|
{
|
|
"UpdateStageName":"AlterWare Launcher Download",
|
|
"UpdateSourcePlatform":"Windows",
|
|
"UpdateSource":"GithubRelease",
|
|
"UpdateSourceArgs":"mxve/alterware-launcher",
|
|
"UpdateSourceData":"alterware-launcher.exe",
|
|
"UpdateSourceTarget":"{{$FullBaseDir}}",
|
|
"OverwriteExistingFiles":true
|
|
},
|
|
{
|
|
"UpdateStageName":"AlterWare Launcher Download",
|
|
"UpdateSourcePlatform":"Linux",
|
|
"UpdateSource":"GithubRelease",
|
|
"UpdateSourceArgs":"mxve/alterware-launcher",
|
|
"UpdateSourceData":"alterware-launcher-x86_64-unknown-linux-gnu.tar.gz",
|
|
"UpdateSourceTarget":"{{$FullBaseDir}}",
|
|
"UnzipUpdateSource":true,
|
|
"OverwriteExistingFiles":true,
|
|
"DeleteAfterExtract":true
|
|
},
|
|
{
|
|
"UpdateStageName":"Client Installation",
|
|
"UpdateSourcePlatform":"Windows",
|
|
"UpdateSource":"Executable",
|
|
"UpdateSourceData":"cmd.exe",
|
|
"UpdateSourceArgs":"/C cd call-of-dutymw2\\10190 && .\\alterware-launcher.exe iw4x --update --skip-launcher-update --bonus --force"
|
|
},
|
|
{
|
|
"UpdateStageName":"Client Installation",
|
|
"UpdateSourcePlatform":"Linux",
|
|
"UpdateSource":"Executable",
|
|
"UpdateSourceData":"/bin/bash",
|
|
"UpdateSourceArgs":"-c 'cd ./call-of-dutymw2/10190 && ./alterware-launcher iw4x --update --skip-launcher-update --bonus --force'"
|
|
},
|
|
{
|
|
"UpdateStageName":"Config File Download",
|
|
"UpdateSourcePlatform":"All",
|
|
"UpdateSource":"FetchURL",
|
|
"UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/call-of-dutymw2server.cfg",
|
|
"UpdateSourceArgs":"server.cfg",
|
|
"UpdateSourceTarget":"{{$FullBaseDir}}userraw",
|
|
"OverwriteExistingFiles":false
|
|
},
|
|
{
|
|
"UpdateStageName":"Initialise Wine",
|
|
"UpdateSourcePlatform":"Linux",
|
|
"UpdateSource":"Executable",
|
|
"UpdateSourceData":"/bin/bash",
|
|
"UpdateSourceArgs":"-c 'WINEPREFIX=\"{{$FullRootDir}}.wine\" WINEARCH=win32 /usr/bin/wineboot --init --update'"
|
|
}
|
|
] |