Allow configured adb path to be empty, look for adb in shipped path

* On windows we ship adb.exe under android/ so that there's no configure
  needed. Look for that file if there isn't an override path.
This commit is contained in:
baldurk
2017-06-14 17:09:22 +01:00
committed by Baldur Karlsson
parent 6423a82d18
commit e0104e8fe0
5 changed files with 22 additions and 14 deletions
-3
View File
@@ -418,9 +418,6 @@ namespace renderdocui.Code
// Set the config setting as it will be reused when we start the remoteserver etc.
StaticExports.SetConfigSetting("adbExePath", adbExePath);
if (adbExePath.Length == 0)
return;// adb path must be non-empty in the Options dialog.
string[] androidHosts = StaticExports.EnumerateAndroidDevices();
foreach(string hostName in androidHosts)
{