AMPTemplates/path-of-titansupdates.json
2023-03-29 22:46:26 +11:00

85 lines
3.4 KiB
JSON

[
{
"UpdateStageName":"AlderonGamesCmd Download",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://launcher-cdn.alderongames.com/AlderonGamesCmd-Win64.exe",
"UpdateSourceTarget":"{{$FullInstanceDir}}",
"OverwriteExistingFiles":true
},
{
"UpdateStageName":"AlderonGamesCmd Download",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://launcher-cdn.alderongames.com/AlderonGamesCmd-Linux-x64",
"UpdateSourceTarget":"{{$FullInstanceDir}}",
"OverwriteExistingFiles":true
},
{
"UpdateStageName":"Make AlderonGamesCmd Executable",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"SetExecutableFlag",
"UpdateSourceArgs":"{{$FullInstanceDir}}AlderonGamesCmd-Linux-x64"
},
{
"UpdateStageName":"Server Download",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"Executable",
"UpdateSourceData":"{{$FullInstanceDir}}AlderonGamesCmd-Win64.exe",
"UpdateSourceArgs":"--game path-of-titans --server true --beta-branch {{BranchKey}} --auth-token {{AuthToken}} --install-dir {{$FullRootDir}}"
},
{
"UpdateStageName":"Server Download",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c '{{$FullInstanceDir}}AlderonGamesCmd-Linux-x64 --game path-of-titans --server true --beta-branch {{BranchKey}} --auth-token {{AuthToken}} --install-dir {{$FullRootDir}} && chmod u+x {{$FullBaseDir}}PathOfTitans/Binaries/Linux/PathOfTitansServer-Linux-Shipping'"
},
{
"UpdateStageName":"Create Saved Directory",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"CreateDirectory",
"UpdateSourceArgs":"{{$FullBaseDir}}PathOfTitans/Saved/Config/WindowsServer",
"OverwriteExistingFiles":false
},
{
"UpdateStageName":"Create Saved Directory",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"CreateDirectory",
"UpdateSourceArgs":"{{$FullBaseDir}}PathOfTitans/Saved/Config/LinuxServer",
"OverwriteExistingFiles":false
},
{
"UpdateStageName":"Create Game.ini",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"CreateFile",
"UpdateSourceData":"",
"UpdateSourceArgs":"{{$FullBaseDir}}PathOfTitans/Saved/Config/WindowsServer/Game.ini",
"OverwriteExistingFiles":false
},
{
"UpdateStageName":"Create Game.ini",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"CreateFile",
"UpdateSourceData":"",
"UpdateSourceArgs":"{{$FullBaseDir}}PathOfTitans/Saved/Config/LinuxServer/Game.ini",
"OverwriteExistingFiles":false
},
{
"UpdateStageName":"Create Commands.ini",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"CreateFile",
"UpdateSourceData":"",
"UpdateSourceArgs":"{{$FullBaseDir}}PathOfTitans/Saved/Config/WindowsServer/Commands.ini",
"OverwriteExistingFiles":false
},
{
"UpdateStageName":"Create Commands.ini",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"CreateFile",
"UpdateSourceData":"",
"UpdateSourceArgs":"{{$FullBaseDir}}PathOfTitans/Saved/Config/LinuxServer/Commands.ini",
"OverwriteExistingFiles":false
}
]