From ed449bb04fb8a16cc4061cfe039dd214d29d87b9 Mon Sep 17 00:00:00 2001 From: status102 <102887808+status102@users.noreply.github.com> Date: Thu, 29 Aug 2024 20:20:36 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20Mumu=E6=88=AA=E5=9B=BE=E5=A2=9E?= =?UTF-8?q?=E5=BC=BA=E8=B7=AF=E5=BE=84=E6=B8=85=E7=A9=BA=E6=97=B6=E4=B8=8D?= =?UTF-8?q?=E5=86=8D=E6=A3=80=E6=9F=A5=E8=B7=AF=E5=BE=84=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E5=AD=98=E5=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs b/src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs index 395c26e7cc..d6d4679f1f 100755 --- a/src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs +++ b/src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs @@ -4042,7 +4042,7 @@ namespace MaaWpfGui.ViewModels.UI get => _emulatorPath; set { - if (_enable && !Directory.Exists(value)) + if (_enable && !string.IsNullOrEmpty(value) && !Directory.Exists(value)) { MessageBoxHelper.Show("MuMu Emulator 12 Path Not Found"); value = string.Empty;