AMPTemplates/pavlov-vrupdates.json
2023-06-14 15:12:01 +10:00

61 lines
2.3 KiB
JSON
Executable File

[
{
"UpdateStageName":"PC Server Binary Symlink Removal",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c 'rm {{$FullBaseDir}}Pavlov/Binaries/Linux/PavlovServer'"
},
{
"UpdateStageName":"SteamCMD Download",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"SteamCMD",
"UpdateSourceData":"622970",
"UpdateSourceArgs":"555160",
"UpdateSourceVersion":"{{ServerVersion}}"
},
{
"UpdateStageName":"Create Logs Directory",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"CreateDirectory",
"UpdateSourceArgs":"{{$FullBaseDir}}Pavlov/Saved/Logs",
"OverwriteExistingFiles":false
},
{
"UpdateStageName":"Create Config Directory",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"CreateDirectory",
"UpdateSourceArgs":"{{$FullBaseDir}}Pavlov/Saved/Config/LinuxServer",
"OverwriteExistingFiles":false
},
{
"UpdateStageName":"Create Maps Directory",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"CreateDirectory",
"UpdateSourceArgs":"{{$FullBaseDir}}Pavlov/Saved/maps",
"OverwriteExistingFiles":false
},
{
"UpdateStageName":"Config File Download",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/pavlov-vrconfigfile.ini",
"UpdateSourceArgs":"Game.ini",
"UpdateSourceTarget":"{{$FullBaseDir}}Pavlov/Saved/Config/LinuxServer",
"OverwriteExistingFiles":false
},
{
"UpdateStageName":"PC Server Binary Symlink Creation",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/ln",
"UpdateSourceArgs":"-s {{$FullBaseDir}}Pavlov/Binaries/Linux/PavlovServer-Linux-Shipping {{$FullBaseDir}}Pavlov/Binaries/Linux/PavlovServer"
},
{
"UpdateStageName":"Shared Library Symlink Creation",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/ln",
"UpdateSourceArgs":"-sf /usr/lib/x86_64-linux-gnu/libc++.so.1 {{$FullBaseDir}}linux64/libc++.so"
}
]