From 59bf8bb75dfd8fb4159caf7909422d60f2c941a8 Mon Sep 17 00:00:00 2001 From: uye <2396806385@qq.com> Date: Sat, 28 Jan 2023 23:19:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=8B=E8=BD=BD=E5=89=8D=E6=B8=85?= =?UTF-8?q?=E7=A9=BA=E6=97=A5=E5=BF=97=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaWpfGui/Main/VersionUpdateViewModel.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/MaaWpfGui/Main/VersionUpdateViewModel.cs b/src/MaaWpfGui/Main/VersionUpdateViewModel.cs index e218a975db..a2463b54ec 100644 --- a/src/MaaWpfGui/Main/VersionUpdateViewModel.cs +++ b/src/MaaWpfGui/Main/VersionUpdateViewModel.cs @@ -699,6 +699,10 @@ namespace MaaWpfGui switch (downloader) { case Downloader.Native: + Application.Current.Dispatcher.Invoke(() => + { + _logItemViewModels.Clear(); + }); returned = DownloadFileForCSharpNative(url: url, filePath: fullFilePathWithTemp, contentType: contentType, proxy); break;