From 915fded4901a4f1e89b68e55adbed505a4601ac7 Mon Sep 17 00:00:00 2001 From: uye <2396806385@qq.com> Date: Sat, 11 Feb 2023 17:56:39 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=A0=BC=E5=BC=8F=E5=8C=96=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaWpfGui/Main/AsstProxy.cs | 4 +++- src/MaaWpfGui/Main/RootViewModel.cs | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/MaaWpfGui/Main/AsstProxy.cs b/src/MaaWpfGui/Main/AsstProxy.cs index a55e2d64c4..8090ccaa2b 100644 --- a/src/MaaWpfGui/Main/AsstProxy.cs +++ b/src/MaaWpfGui/Main/AsstProxy.cs @@ -574,7 +574,6 @@ namespace MaaWpfGui // 下面几行注释暂时没用到,先注释起来... // string taskChain = details["taskchain"].ToString(); // string classType = details["class"].ToString(); - switch (msg) { case AsstMsg.SubTaskError: @@ -1706,6 +1705,9 @@ namespace MaaWpfGui /// DeploymentWithPause = 3, + /// + /// Indicates whether AdbLite is used. + /// AdbLiteEnabled = 4, } } diff --git a/src/MaaWpfGui/Main/RootViewModel.cs b/src/MaaWpfGui/Main/RootViewModel.cs index b68f3a34f6..9ae7b63fdc 100644 --- a/src/MaaWpfGui/Main/RootViewModel.cs +++ b/src/MaaWpfGui/Main/RootViewModel.cs @@ -87,7 +87,6 @@ namespace MaaWpfGui { _windowManager.ShowWindow(_versionUpdateViewModel); } - else { var ret = await Task.Run(() => _versionUpdateViewModel.CheckAndDownloadUpdate());