mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 18:47:55 +08:00
fix adb auto detect logic
This commit is contained in:
@@ -1921,7 +1921,7 @@ namespace MaaWpfGui
|
||||
|
||||
ConnectConfig = emulators.First();
|
||||
AdbPath = adapter.GetAdbPathByEmulatorName(ConnectConfig) ?? AdbPath;
|
||||
if (!string.IsNullOrEmpty(AdbPath))
|
||||
if (string.IsNullOrEmpty(AdbPath))
|
||||
{
|
||||
error = Localization.GetString("AdbException");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user