From f7429c0cea070f90bcda31ea5f7262d518eadd81 Mon Sep 17 00:00:00 2001 From: uye <99072975+ABA2396@users.noreply.github.com> Date: Fri, 9 May 2025 13:51:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A8=A1=E6=8B=9F=E5=99=A8=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E9=80=89=E6=8B=A9=E5=8A=9F=E8=83=BD=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix #12612 --- .../UserControl/Settings/StartSettingsUserControlModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MaaWpfGui/ViewModels/UserControl/Settings/StartSettingsUserControlModel.cs b/src/MaaWpfGui/ViewModels/UserControl/Settings/StartSettingsUserControlModel.cs index 951e092f09..69c3a0ce79 100644 --- a/src/MaaWpfGui/ViewModels/UserControl/Settings/StartSettingsUserControlModel.cs +++ b/src/MaaWpfGui/ViewModels/UserControl/Settings/StartSettingsUserControlModel.cs @@ -186,7 +186,7 @@ public class StartSettingsUserControlModel : PropertyChangedBase LocalizationHelper.GetString("OpenEmulatorAfterLaunch"))); } } - else if (!File.Exists(EmulatorPath)) + else if (!File.Exists(value)) { Growl.Warning(LocalizationHelper.GetString("EmulatorPathNotExist")); }