diff --git a/src/MaaWpfGui/Helper/WinAdapter.cs b/src/MaaWpfGui/Helper/WinAdapter.cs index 9252c75d49..e39c970263 100644 --- a/src/MaaWpfGui/Helper/WinAdapter.cs +++ b/src/MaaWpfGui/Helper/WinAdapter.cs @@ -78,7 +78,7 @@ namespace MaaWpfGui.Helper var adbPath = Path.GetDirectoryName(processPath) + "\\" + path; if (File.Exists(adbPath)) { - _adbAbsolutePathDict.Add(emulatorId, adbPath); + _adbAbsolutePathDict[emulatorId] = adbPath; } } }