PZ: allow beta branch selection (#119)

This commit is contained in:
Greelan 2022-05-21 11:15:53 +10:00 committed by GitHub
parent 71a2907494
commit 301b8ee34c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 1 deletions

View File

@ -41,7 +41,7 @@ App.MaxUsers=16
App.UseRandomAdminPassword=False App.UseRandomAdminPassword=False
App.RemoteAdminPassword=Password123 App.RemoteAdminPassword=Password123
App.AdminMethod=STDIO App.AdminMethod=STDIO
App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"380870"},{"UpdateStageName":"Mods Directory Creation","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./project-zomboid/380870/Zomboid/mods","OverwriteExistingFiles":false}] App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"380870","UpdateSourceVersion":"public","UpdateSourceConditionSetting":"EnableBeta","UpdateSourceConditionValue":"false"},{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"380870","UpdateSourceVersion":"{{BetaBranch}}","UpdateSourceConditionSetting":"EnableBeta","UpdateSourceConditionValue":"true"},{"UpdateStageName":"Mods Directory Creation","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./project-zomboid/380870/Zomboid/mods","OverwriteExistingFiles":false}]
App.Compatibility=None App.Compatibility=None
App.SteamUpdateAnonymousLogin=True App.SteamUpdateAnonymousLogin=True
App.SteamForceLoginPrompt=False App.SteamForceLoginPrompt=False

View File

@ -807,5 +807,35 @@
"DefaultValue":"", "DefaultValue":"",
"Placeholder":"475182341782896651", "Placeholder":"475182341782896651",
"EnumValues":{} "EnumValues":{}
},
{
"DisplayName":"Enable Beta Branch",
"Category":"SteamCMD and Updates",
"Description":"If enabled, allows beta branches (branches other than \"public\") to be installed. Specify the branch under \"Selected Beta Branch\". NOTE: Update the server after switching branches!",
"Keywords":"enable,beta",
"FieldName":"EnableBeta",
"InputType":"checkbox",
"IsFlagArgument":false,
"ParamFieldName":"",
"IncludeInCommandLine":false,
"DefaultValue":"false",
"EnumValues":{
"False":"false",
"True":"true"
}
},
{
"DisplayName":"Selected Beta Branch",
"Category":"SteamCMD and Updates",
"Description":"[Beta branch](https://steamdb.info/app/380870/depots/) to install. Requires \"Enable Beta Branch\" to be enabled. Set any required password under \"Beta Password\". NOTE: Update the server after switching branches!",
"Keywords":"beta,branch",
"FieldName":"BetaBranch",
"InputType":"text",
"IsFlagArgument":false,
"ParamFieldName":"",
"IncludeInCommandLine":false,
"DefaultValue":"",
"Placeholder":"",
"EnumValues":{}
} }
] ]