From abbcbdfdac25258c76b3e54ba1957bad61b2dfcb Mon Sep 17 00:00:00 2001 From: uye <99072975+ABA2396@users.noreply.github.com> Date: Sat, 8 Mar 2025 23:06:40 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaWpfGui/Main/AsstProxy.cs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/MaaWpfGui/Main/AsstProxy.cs b/src/MaaWpfGui/Main/AsstProxy.cs index d04e71d9a8..2062fc9616 100644 --- a/src/MaaWpfGui/Main/AsstProxy.cs +++ b/src/MaaWpfGui/Main/AsstProxy.cs @@ -1600,15 +1600,7 @@ namespace MaaWpfGui.Main case "UnsupportedLevel": Instances.CopilotViewModel.AddLog(LocalizationHelper.GetString("UnsupportedLevel") + subTaskDetails!["level"], UiLogColor.Error); - Task.Run(async () => - { - if (SettingsViewModel.VersionUpdateSettings.IsCheckingForUpdates) - { - return; - } - - await ResourceUpdater.ResourceUpdateAndReloadAsync(); - }); + _ = ResourceUpdater.ResourceUpdateAndReloadAsync(); break; case "CustomInfrastRoomGroupsMatch":