Vintage Story: add release stream (#508)

This commit is contained in:
Greelan 2023-11-07 16:31:05 +11:00 committed by GitHub
parent 5850d43eda
commit cb347a73dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 4 deletions

View File

@ -27,10 +27,26 @@
"Required":true,
"EnumValues":{}
},
{
"DisplayName":"Server Release Stream",
"Category":"Server Settings",
"Description":"Sets the server release stream to install. An appropriate Server Version must also be set. NOTE: Update the server after changing this setting!",
"Keywords":"server,release,stream",
"FieldName":"ServerReleaseStream",
"InputType":"enum",
"IsFlagArgument":false,
"ParamFieldName":"ServerReleaseStream",
"IncludeInCommandLine":false,
"DefaultValue":"stable",
"EnumValues":{
"stable":"Stable (default)",
"pre":"Preview"
}
},
{
"DisplayName":"Server Version",
"Category":"Server Settings",
"Description":"Sets the server version to install. Minimum v1.18.8. NOTE: Update the server after changing this setting!",
"Description":"Sets the server version to install, such as 1.18.5 or 1.19.0-pre.5. Minimum v1.18.8. NOTE: Update the server after changing this setting!",
"Keywords":"server,version",
"FieldName":"ServerVersion",
"InputType":"text",
@ -38,7 +54,7 @@
"ParamFieldName":"ServerVersion",
"IncludeInCommandLine":false,
"DefaultValue":"1.18.15",
"Placeholder":"1.18.15",
"Placeholder":"1.18.15 | 1.19.0-pre.5",
"Required":true,
"EnumValues":{}
},

View File

@ -49,7 +49,7 @@
"UpdateStageName":"Server Download",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://cdn.vintagestory.at/gamefiles/stable/vs_server_win-x64_{{ServerVersion}}.zip",
"UpdateSourceData":"https://cdn.vintagestory.at/gamefiles/{{ServerReleaseStream}}/vs_server_win-x64_{{ServerVersion}}.zip",
"UpdateSourceTarget":"{{$FullBaseDir}}server",
"UnzipUpdateSource":true,
"OverwriteExistingFiles":true,
@ -59,7 +59,7 @@
"UpdateStageName":"Server Download",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://cdn.vintagestory.at/gamefiles/stable/vs_server_linux-x64_{{ServerVersion}}.tar.gz",
"UpdateSourceData":"https://cdn.vintagestory.at/gamefiles/{{ServerReleaseStream}}/vs_server_linux-x64_{{ServerVersion}}.tar.gz",
"UpdateSourceTarget":"{{$FullBaseDir}}server",
"UnzipUpdateSource":true,
"OverwriteExistingFiles":true,