LentiaLauncher/src/main/core/Constants.cs
azures04 b33779e77d Added a lot
-  Self contained runtime
  -  Translated french to english
  -  Fixed java path and url
2026-02-01 20:15:54 +01:00

18 lines
973 B
C#

using System.Text.Json;
namespace Lentia.Core.Constants {
public static class LauncherConstants {
public static readonly JsonSerializerOptions _jsonOptions = new() { PropertyNamingPolicy = JsonNamingPolicy.CamelCase };
public static class Urls {
public const string MojangManifest = "https://launchermeta.mojang.com/mc/game/version_manifest_v2.json";
public const string YggdrasilServer = "https://yggdrasil.azures.fr/";
public const string MojangAuthServer = YggdrasilServer + "authserver";
public const string ApiUrl = "https://lentia-api.azures.fr";
public const string AllJavaRuntime = "https://launchermeta.mojang.com/v1/products/java-runtime/2ec0cc96c44e5a76b9c8b7c39df7210883d12871/all.json";
}
public static class AgentsPath {
public const string AuthlibInjector = "libraries/moe/yushi/authlib-injector/1.2.7/authlib-injector-1.2.7.jar";
}
}
}