From 4330a40cd1abcc05b0c0ce2a65b187a3022a764d Mon Sep 17 00:00:00 2001 From: LuoYunXi Date: Mon, 3 Aug 2026 15:35:45 +0800 Subject: [PATCH] feat: Add Key property to BuildInfo class --- BedrockLauncher.Core/VersionJsons/SoureJson.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BedrockLauncher.Core/VersionJsons/SoureJson.cs b/BedrockLauncher.Core/VersionJsons/SoureJson.cs index a9f2e1e..2550eb1 100644 --- a/BedrockLauncher.Core/VersionJsons/SoureJson.cs +++ b/BedrockLauncher.Core/VersionJsons/SoureJson.cs @@ -44,6 +44,8 @@ private async IAsyncEnumerable> GetBuildsFromExt public class BuildInfo { + public string Key { get; set; } = string.Empty; + [JsonPropertyName("Type")] [JsonConverter(typeof(MinecraftGameTypeVersionConverter))] public MinecraftGameTypeVersion Type { get; set; } @@ -74,4 +76,4 @@ public class Variation [JsonPropertyName("MD5")] public string MD5 { get; set; } = string.Empty; } -#endregion \ No newline at end of file +#endregion