AMPTemplates/arma3updates.json
2023-03-07 05:50:50 +11:00

57 lines
2.0 KiB
JSON

[
{
"UpdateStageName":"SteamCMD Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"SteamCMD",
"UpdateSourceData":"233780",
"UpdateSourceArgs":"107410"
},
{
"UpdateStageName":"Server Config Template Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/arma3server.cfg",
"UpdateSourceArgs":"AMP_server.cfg",
"UpdateSourceTarget":"{{$FullBaseDir}}",
"OverwriteExistingFiles":false
},
{
"UpdateStageName":"Basic Config File Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/arma3basic.cfg",
"UpdateSourceArgs":"basic.cfg",
"UpdateSourceTarget":"{{$FullBaseDir}}",
"OverwriteExistingFiles":false
},
{
"UpdateStageName":"Create Parameters File",
"UpdateSourcePlatform":"All",
"UpdateSource":"CreateFile",
"UpdateSourceArgs":"{{$FullBaseDir}}parameters.txt",
"OverwriteExistingFiles":false
},
{
"UpdateStageName":"Modscript Download",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/arma3modscript.sh",
"UpdateSourceArgs":"modscript.sh",
"UpdateSourceTarget":"{{$FullInstanceDir}}",
"OverwriteExistingFiles":true
},
{
"UpdateStageName":"Convert and Symlink Mods",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"./modscript.sh"
},
{
"UpdateStageName":"Link Mods",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"Executable",
"UpdateSourceData":"cmd.exe",
"UpdateSourceArgs":"/C cd .\\arma3\\233780 && for /D %G in (.\\steamapps\\workshop\\content\\107410\\*) do mklink /J %~nxG %G"
}
]