2025-06-15 13:48:56 +03:00
|
|
|
using System.Collections.Generic;
|
2025-05-02 10:56:19 +03:00
|
|
|
using Nebula.UpdateResolver.Configuration;
|
2025-05-01 19:01:59 +03:00
|
|
|
|
|
|
|
|
namespace Nebula.UpdateResolver;
|
|
|
|
|
|
|
|
|
|
public static class UpdateConVars
|
|
|
|
|
{
|
2025-05-01 21:03:55 +03:00
|
|
|
public static readonly ConVar<string> UpdateCacheUrl =
|
2025-05-07 14:55:00 +03:00
|
|
|
ConVarBuilder.Build<string>("update.url","https://durenko.tatar/nebula/manifest/");
|
2025-05-01 19:01:59 +03:00
|
|
|
public static readonly ConVar<LauncherManifest> CurrentLauncherManifest =
|
|
|
|
|
ConVarBuilder.Build<LauncherManifest>("update.manifest");
|
2025-06-15 13:48:56 +03:00
|
|
|
|
|
|
|
|
public static readonly ConVar<Dictionary<string,string>> DotnetUrl = ConVarBuilder.Build<Dictionary<string,string>>("dotnet.url",
|
|
|
|
|
new(){
|
2026-01-16 18:32:37 +03:00
|
|
|
{"win-x64", "https://builds.dotnet.microsoft.com/dotnet/Runtime/10.0.2/dotnet-runtime-10.0.2-win-x64.exe"},
|
|
|
|
|
{"win-x86", "https://builds.dotnet.microsoft.com/dotnet/Runtime/10.0.2/dotnet-runtime-10.0.2-win-x86.exe"},
|
|
|
|
|
{"linux-x64", "https://builds.dotnet.microsoft.com/dotnet/Runtime/10.0.2/dotnet-runtime-10.0.2-linux-x64.tar.gz"}
|
2025-06-15 13:48:56 +03:00
|
|
|
});
|
2026-01-16 18:32:37 +03:00
|
|
|
|
|
|
|
|
public static readonly ConVar<string> DotnetVersion = ConVarBuilder.Build<string>("dotnet.version", "10.0.2");
|
2025-05-01 19:01:59 +03:00
|
|
|
}
|