Veloren: add Weekly release version option (#416)

This commit is contained in:
Greelan 2023-07-10 17:03:54 +03:00 committed by GitHub
parent e2d9dbab4b
commit 2724f0db7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 5 deletions

View File

@ -52,5 +52,21 @@
"Suffix":"players",
"EnumValues":{},
"MinValue":"1"
},
{
"DisplayName":"Server Release Version",
"Category":"SteamCMD and Updates",
"Description":"Sets the server release version to install. NOTE: Update the server after changing this setting!",
"Keywords":"server,release,version,nightly,weekly",
"FieldName":"ReleaseVersion",
"InputType":"enum",
"IsFlagArgument":false,
"ParamFieldName":"ReleaseVersion",
"IncludeInCommandLine":false,
"DefaultValue":"weekly",
"EnumValues":{
"weekly":"Weekly (default)",
"nightly":"Nightly"
}
}
]

View File

@ -3,8 +3,8 @@
"UpdateStageName":"Server Download",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://download.veloren.net/latest/windows/x86_64/nightly",
"UpdateSourceArgs":"nightly.zip",
"UpdateSourceData":"https://download.veloren.net/latest/windows/x86_64/{{ReleaseVersion}}",
"UpdateSourceArgs":"{{ReleaseVersion}}.zip",
"UpdateSourceTarget":"{{$FullRootDir}}",
"UnzipUpdateSource":true,
"OverwriteExistingFiles":true,
@ -14,8 +14,8 @@
"UpdateStageName":"Server Download",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://download.veloren.net/latest/linux/x86_64/nightly",
"UpdateSourceArgs":"nightly.zip",
"UpdateSourceData":"https://download.veloren.net/latest/linux/x86_64/{{ReleaseVersion}}",
"UpdateSourceArgs":"{{ReleaseVersion}}.zip",
"UpdateSourceTarget":"{{$FullRootDir}}",
"UnzipUpdateSource":true,
"OverwriteExistingFiles":true,
@ -57,4 +57,4 @@
"UpdateSourcePlatform":"All",
"UpdateSource":"ShutdownApplication"
}
]
]