141 lines
5.6 KiB
JSON
141 lines
5.6 KiB
JSON
[
|
|
{
|
|
"UpdateStageName":"Create Dotnet Directory",
|
|
"UpdateSourcePlatform":"All",
|
|
"UpdateSource":"CreateDirectory",
|
|
"UpdateSourceArgs":"{{$FullBaseDir}}dotnet"
|
|
},
|
|
{
|
|
"UpdateStageName":"Create Data Directory",
|
|
"UpdateSourcePlatform":"All",
|
|
"UpdateSource":"CreateDirectory",
|
|
"UpdateSourceArgs":"{{$FullBaseDir}}Data"
|
|
},
|
|
{
|
|
"UpdateStageName":"ASP.NET Core Runtime Download",
|
|
"UpdateSourcePlatform":"Windows",
|
|
"UpdateSource":"FetchURL",
|
|
"UpdateSourceData":"https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/{{DotnetVersion}}/aspnetcore-runtime-{{DotnetVersion}}-win-x64.zip",
|
|
"UpdateSourceTarget":"{{$FullBaseDir}}dotnet",
|
|
"UnzipUpdateSource":true,
|
|
"OverwriteExistingFiles":true,
|
|
"DeleteAfterExtract":true
|
|
},
|
|
{
|
|
"UpdateStageName":"ASP.NET Core Runtime Download",
|
|
"UpdateSourcePlatform":"Linux",
|
|
"UpdateSource":"FetchURL",
|
|
"UpdateSourceData":"https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/{{DotnetVersion}}/aspnetcore-runtime-{{DotnetVersion}}-linux-x64.tar.gz",
|
|
"UpdateSourceArch":"x86_64",
|
|
"UpdateSourceTarget":"{{$FullBaseDir}}dotnet",
|
|
"UnzipUpdateSource":true,
|
|
"OverwriteExistingFiles":true,
|
|
"DeleteAfterExtract":true
|
|
},
|
|
{
|
|
"UpdateStageName":"ASP.NET Core Runtime Download",
|
|
"UpdateSourcePlatform":"Linux",
|
|
"UpdateSource":"FetchURL",
|
|
"UpdateSourceData":"https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/{{DotnetVersion}}/aspnetcore-runtime-{{DotnetVersion}}-linux-arm64.tar.gz",
|
|
"UpdateSourceArch":"aarch64",
|
|
"UpdateSourceTarget":"{{$FullBaseDir}}dotnet",
|
|
"UnzipUpdateSource":true,
|
|
"OverwriteExistingFiles":true,
|
|
"DeleteAfterExtract":true
|
|
},
|
|
{
|
|
"UpdateStageName":"Open World Download",
|
|
"UpdateSourcePlatform":"Windows",
|
|
"UpdateSource":"GithubRelease",
|
|
"UpdateSourceData":"win-x64.zip",
|
|
"UpdateSourceArgs":"D12-Dev/OpenWorld",
|
|
"UpdateSourceTarget":"{{$FullRootDir}}",
|
|
"UpdateSourceVersion":"{{ReleaseVersion}}",
|
|
"UnzipUpdateSource":true,
|
|
"OverwriteExistingFiles":true,
|
|
"DeleteAfterExtract":true
|
|
},
|
|
{
|
|
"UpdateStageName":"Open World Download",
|
|
"UpdateSourcePlatform":"Linux",
|
|
"UpdateSource":"GithubRelease",
|
|
"UpdateSourceData":"linux-x64.zip",
|
|
"UpdateSourceArgs":"D12-Dev/OpenWorld",
|
|
"UpdateSourceTarget":"{{$FullRootDir}}",
|
|
"UpdateSourceVersion":"{{ReleaseVersion}}",
|
|
"UpdateSourceArch":"x86_64",
|
|
"UnzipUpdateSource":true,
|
|
"OverwriteExistingFiles":true,
|
|
"DeleteAfterExtract":true
|
|
},
|
|
{
|
|
"UpdateStageName":"Open World Download",
|
|
"UpdateSourcePlatform":"Linux",
|
|
"UpdateSource":"GithubRelease",
|
|
"UpdateSourceData":"linux-arm64.zip",
|
|
"UpdateSourceArgs":"D12-Dev/OpenWorld",
|
|
"UpdateSourceTarget":"{{$FullRootDir}}",
|
|
"UpdateSourceVersion":"{{ReleaseVersion}}",
|
|
"UpdateSourceArch":"aarch64",
|
|
"UnzipUpdateSource":true,
|
|
"OverwriteExistingFiles":true,
|
|
"DeleteAfterExtract":true
|
|
},
|
|
{
|
|
"UpdateStageName":"Pause Update Stages",
|
|
"UpdateSourcePlatform":"Linux",
|
|
"UpdateSource":"Pause",
|
|
"UpdateSourceArgs":"2"
|
|
},
|
|
{
|
|
"UpdateStageName":"Move Server Files",
|
|
"UpdateSourcePlatform":"Windows",
|
|
"UpdateSource":"Executable",
|
|
"UpdateSourceData":"cmd.exe",
|
|
"UpdateSourceArgs":"/C xcopy /E /Y /I open-world\\win-x64\\* open-world\\server\\ && rmdir /Q /S open-world\\win-x64\\"
|
|
},
|
|
{
|
|
"UpdateStageName":"Move Server Files",
|
|
"UpdateSourcePlatform":"Linux",
|
|
"UpdateSource":"Executable",
|
|
"UpdateSourceData":"/bin/bash",
|
|
"UpdateSourceArgs":"-c '\\cp -rf ./open-world/linux-x64/* ./open-world/server/ && chmod +x ./open-world/server/OpenWorldServer ; rm -rf ./open-world/linux-x64/'",
|
|
"UpdateSourceArch":"x86_64"
|
|
},
|
|
{
|
|
"UpdateStageName":"Move Server Files",
|
|
"UpdateSourcePlatform":"Linux",
|
|
"UpdateSource":"Executable",
|
|
"UpdateSourceData":"/bin/bash",
|
|
"UpdateSourceArgs":"-c '\\cp -rf ./open-world/linux-arm64/* ./open-world/server/ && chmod +x ./open-world/server/OpenWorldServer ; rm -rf ./open-world/linux-arm64/'",
|
|
"UpdateSourceArch":"aarch64"
|
|
},
|
|
{
|
|
"UpdateStageName":"Config.json File Download",
|
|
"UpdateSourcePlatform":"All",
|
|
"UpdateSource":"FetchURL",
|
|
"UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/open-worldserverconfig.json",
|
|
"UpdateSourceArgs":"Config.json",
|
|
"UpdateSourceTarget":"{{$FullBaseDir}}Data",
|
|
"OverwriteExistingFiles":false
|
|
},
|
|
{
|
|
"UpdateStageName":"Deep Config.json File Download",
|
|
"UpdateSourcePlatform":"All",
|
|
"UpdateSource":"FetchURL",
|
|
"UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/open-worldserverdeepconfig.json",
|
|
"UpdateSourceArgs":"Deep Config.json",
|
|
"UpdateSourceTarget":"{{$FullBaseDir}}Data",
|
|
"OverwriteExistingFiles":false
|
|
},
|
|
{
|
|
"UpdateStageName":"Values.json File Download",
|
|
"UpdateSourcePlatform":"All",
|
|
"UpdateSource":"FetchURL",
|
|
"UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/open-worldservervalues.json",
|
|
"UpdateSourceArgs":"Values.json",
|
|
"UpdateSourceTarget":"{{$FullBaseDir}}Data",
|
|
"OverwriteExistingFiles":false
|
|
}
|
|
]
|