mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-14 16:06:30 +02:00
Corrected error message.
This commit is contained in:
parent
33e061b09b
commit
8dadeb197b
1 changed files with 5 additions and 4 deletions
|
@ -16,12 +16,13 @@
|
|||
QString AdbInterface::getAdbCommand() {
|
||||
#ifdef Q_OS_WIN
|
||||
if (_adbCommand.isNull()) {
|
||||
QString adbPath = PathUtils::getPathToExecutable("adb.exe");
|
||||
QString adbExe{ "adb.exe" };
|
||||
QString adbPath = PathUtils::getPathToExecutable(adbExe);
|
||||
if (!adbPath.isNull()) {
|
||||
_adbCommand = adbPath + _adbExe;
|
||||
_adbCommand = adbExe;
|
||||
} else {
|
||||
QMessageBox::critical(0, "python.exe not found",
|
||||
"Please verify that pyton.exe is in the PATH");
|
||||
QMessageBox::critical(0, "adb.exe not found",
|
||||
"Please verify that adb.exe is in the PATH");
|
||||
exit(-1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue