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;