- tweak: some beauty to code

This commit is contained in:
2025-05-03 18:35:26 +03:00
parent f0d46ee28d
commit cd6b4d3ad4
2 changed files with 12 additions and 3 deletions

View File

@@ -15,7 +15,12 @@ public static class LauncherConVar
ConVarBuilder.Build<string[]>("server.favorites", []);
public static readonly ConVar<AuthServerCredentials[]> AuthServers = ConVarBuilder.Build<AuthServerCredentials[]>("launcher.authServers", [
new AuthServerCredentials("WizDen", ["https://auth.spacestation14.com/", "https://auth.fallback.spacestation14.com/"])
new AuthServerCredentials(
"WizDen",
[
"https://auth.spacestation14.com/",
"https://auth.fallback.spacestation14.com/"
])
]);
public static readonly ConVar<string> CurrentLang = ConVarBuilder.Build<string>("launcher.language", "en-US");

View File

@@ -12,7 +12,8 @@ public static class CurrentConVar
]);
public static readonly ConVar<string[]> EngineModuleManifestUrl =
ConVarBuilder.Build<string[]>("engine.moduleManifestUrl", [
ConVarBuilder.Build<string[]>("engine.moduleManifestUrl",
[
"https://robust-builds.cdn.spacestation14.com/modules.json",
"https://robust-builds.fallback.cdn.spacestation14.com/modules.json"
]);
@@ -24,7 +25,10 @@ public static class CurrentConVar
ConVarBuilder.Build("engine.robustAssemblyName", "Robust.Client");
public static readonly ConVar<string[][]> Hub = ConVarBuilder.Build<string[][]>("launcher.hub", [
["https://hub.spacestation14.com/api/servers", "https://auth.fallback.spacestation14.com/"]
[
"https://hub.spacestation14.com/api/servers",
"https://auth.fallback.spacestation14.com/"
]
]);
public static readonly ConVar<Dictionary<string, EngineVersionInfo>> EngineManifestBackup =