AMPTemplates/openrct2updates.json
2023-09-22 08:03:57 +10:00

87 lines
3.3 KiB
JSON

[
{
"UpdateStageName":"User Data Directory Creation",
"UpdateSourcePlatform":"All",
"UpdateSource":"CreateDirectory",
"UpdateSourceArgs":"{{$FullBaseDir}}user-data"
},
{
"UpdateStageName":"RCT2 Game Files Directory Creation",
"UpdateSourcePlatform":"All",
"UpdateSource":"CreateDirectory",
"UpdateSourceArgs":"{{$FullBaseDir}}rct2game"
},
{
"UpdateStageName":"RCT1 Game Files Directory Creation",
"UpdateSourcePlatform":"All",
"UpdateSource":"CreateDirectory",
"UpdateSourceArgs":"{{$FullBaseDir}}rct1game"
},
{
"UpdateStageName":"OpenRCT2 Download",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"GithubRelease",
"UpdateSourceData":"OpenRCT2-{{ReleaseVersion}}-windows-portable-x64.zip",
"UpdateSourceArgs":"OpenRCT2/OpenRCT2",
"UpdateSourceTarget":"{{$FullBaseDir}}",
"UnzipUpdateSource":true,
"OverwriteExistingFiles":true,
"DeleteAfterExtract":true
},
{
"UpdateStageName":"OpenRCT2 Download",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"GithubRelease",
"UpdateSourceData":"OpenRCT2-{{ReleaseVersion}}-linux-x86_64.AppImage",
"UpdateSourceArgs":"OpenRCT2/OpenRCT2",
"UpdateSourceTarget":"{{$FullBaseDir}}",
"UnzipUpdateSource":false,
"OverwriteExistingFiles":true
},
{
"UpdateStageName":"OpenRCT2 Extract",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c 'cd ./openrct2/server/ && chmod +x OpenRCT2-{{ReleaseVersion}}-linux-x86_64.AppImage && ./OpenRCT2-{{ReleaseVersion}}-linux-x86_64.AppImage --appimage-extract && rm -f OpenRCT2-{{ReleaseVersion}}-linux-x86_64.AppImage'"
},
{
"UpdateStageName":"RCT2 Game Files Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"SteamCMD",
"UpdateSourceData":"285330",
"UpdateSourceTarget":"{{$FullBaseDir}}rct2game",
"ForceDownloadPlatform":"Windows",
"UpdateSourceConditionSetting":"DisableRCT2Download",
"UpdateSourceConditionValue":"false"
},
{
"UpdateStageName":"RCT1 Game Files Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"SteamCMD",
"UpdateSourceData":"285310",
"UpdateSourceTarget":"{{$FullBaseDir}}rct1game",
"ForceDownloadPlatform":"Windows",
"UpdateSourceConditionSetting":"DisableRCT1Download",
"UpdateSourceConditionValue":"false"
},
{
"UpdateStageName":"Config.ini File Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/openrct2config.ini",
"UpdateSourceArgs":"config.ini",
"UpdateSourceTarget":"{{$FullBaseDir}}user-data",
"OverwriteExistingFiles":false
},
{
"UpdateStageName":"Groups.json File Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/openrct2groups.json",
"UpdateSourceArgs":"groups.json",
"UpdateSourceTarget":"{{$FullBaseDir}}user-data",
"OverwriteExistingFiles":false
}
]