From 40666d90d8516fa31464b963715a09dbf4a2a54e Mon Sep 17 00:00:00 2001 From: lokins Date: Sun, 19 Jul 2026 08:51:39 +0800 Subject: [PATCH] =?UTF-8?q?fix(download):=20=E4=BF=AE=E5=A4=8D=20Minecraft?= =?UTF-8?q?=20=E6=9B=B4=E6=96=B0=E6=8F=90=E7=A4=BA=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=E6=8C=89=20ESC=20=E6=89=93=E5=BC=80=20Wiki?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Plain Craft Launcher 2/Modules/Minecraft/ModDownload.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Plain Craft Launcher 2/Modules/Minecraft/ModDownload.cs b/Plain Craft Launcher 2/Modules/Minecraft/ModDownload.cs index d6c385e22..24d0e3ba1 100644 --- a/Plain Craft Launcher 2/Modules/Minecraft/ModDownload.cs +++ b/Plain Craft Launcher 2/Modules/Minecraft/ModDownload.cs @@ -2477,11 +2477,12 @@ public static void McDownloadClientUpdateHint(string versionName, JsonObject jso ? Lang.Text("Minecraft.Update.UpdateTime") + Lang.Date(time) : Lang.Text("Minecraft.Update.UpdatedAt") + Lang.TimeSpan(time - DateTime.Now)); var msgResult = ModMain.MyMsgBox(msgBoxText, Lang.Text("Minecraft.Update.Title"), - Lang.Text("Common.Action.Confirm"), Lang.Text("Common.Action.Download"), + Lang.Text("Common.Action.Download"), (DateTime.Now - time).TotalHours > 3d ? Lang.Text("Common.Action.UpdateLog") : "", - button3Action: () => ModDownloadLib.McUpdateLogShow(version)); + Lang.Text("Common.Action.Cancel"), + button2Action: () => ModDownloadLib.McUpdateLogShow(version)); // 弹窗结果 - if (msgResult == 2) + if (msgResult == 1) // 下载 ModBase.RunInUi(() => {