55 lines
2.1 KiB
JSON
55 lines
2.1 KiB
JSON
[
|
|
{
|
|
"UpdateStageName":"Server Directory Creation",
|
|
"UpdateSourcePlatform":"Windows",
|
|
"UpdateSource":"CreateDirectory",
|
|
"UpdateSourceArgs":"{{$FullBaseDir}}server"
|
|
},
|
|
{
|
|
"UpdateStageName":"AppImage Directory Creation",
|
|
"UpdateSourcePlatform":"Linux",
|
|
"UpdateSource":"CreateDirectory",
|
|
"UpdateSourceArgs":"{{$FullBaseDir}}appimage"
|
|
},
|
|
{
|
|
"UpdateStageName":"Support Directory Creation",
|
|
"UpdateSourcePlatform":"All",
|
|
"UpdateSource":"CreateDirectory",
|
|
"UpdateSourceArgs":"{{$FullBaseDir}}Support"
|
|
},
|
|
{
|
|
"UpdateStageName":"OpenRA Download",
|
|
"UpdateSourcePlatform":"Windows",
|
|
"UpdateSource":"FetchURLFromJQ",
|
|
"UpdateSourceData":"https://api.github.com/repos/OpenRA/OpenRA/releases/latest",
|
|
"UpdateSourceArgs":"$.assets.[5].browser_download_url",
|
|
"UpdateSourceTarget":"{{$FullBaseDir}}server",
|
|
"UnzipUpdateSource":true,
|
|
"OverwriteExistingFiles":true,
|
|
"DeleteAfterExtract":true
|
|
},
|
|
{
|
|
"UpdateStageName":"OpenRA Dune 2000 Download",
|
|
"UpdateSourcePlatform":"Linux",
|
|
"UpdateSource":"GithubRelease",
|
|
"UpdateSourceArgs":"OpenRA/OpenRA",
|
|
"UpdateSourceData":"OpenRA-Dune-2000-x86_64.AppImage",
|
|
"UpdateSourceTarget":"{{$FullBaseDir}}appimage",
|
|
"OverwriteExistingFiles":true
|
|
},
|
|
{
|
|
"UpdateStageName":"OpenRA Dune 2000 Extract",
|
|
"UpdateSourcePlatform":"Linux",
|
|
"UpdateSource":"Executable",
|
|
"UpdateSourceData":"/bin/bash",
|
|
"UpdateSourceArgs":"-c 'cd ./openra/appimage && chmod +x OpenRA-Dune-2000-x86_64.AppImage && ./OpenRA-Dune-2000-x86_64.AppImage --appimage-extract && rm -f OpenRA-Dune-2000-x86_64.AppImage'"
|
|
},
|
|
{
|
|
"UpdateStageName":"AppImage Directory Symlink Creation",
|
|
"UpdateSourcePlatform":"Linux",
|
|
"UpdateSource":"Executable",
|
|
"UpdateSourceData":"/bin/bash",
|
|
"UpdateSourceArgs":"-c 'cd ./openra && rm -f server ; ln -s appimage/squashfs-root/usr/lib/openra server'"
|
|
}
|
|
]
|