mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 04:57:58 +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() {
|
QString AdbInterface::getAdbCommand() {
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
if (_adbCommand.isNull()) {
|
if (_adbCommand.isNull()) {
|
||||||
QString adbPath = PathUtils::getPathToExecutable("adb.exe");
|
QString adbExe{ "adb.exe" };
|
||||||
|
QString adbPath = PathUtils::getPathToExecutable(adbExe);
|
||||||
if (!adbPath.isNull()) {
|
if (!adbPath.isNull()) {
|
||||||
_adbCommand = adbPath + _adbExe;
|
_adbCommand = adbExe;
|
||||||
} else {
|
} else {
|
||||||
QMessageBox::critical(0, "python.exe not found",
|
QMessageBox::critical(0, "adb.exe not found",
|
||||||
"Please verify that pyton.exe is in the PATH");
|
"Please verify that adb.exe is in the PATH");
|
||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue