Log adb executable path
Log the ADB executable path (at the DEBUG level) if it is not the default one. PR #5560 <https://github.com/Genymobile/scrcpy/pull/5560>
This commit is contained in:
parent
6d0ac3626d
commit
dc6c279b1e
@ -31,6 +31,7 @@ bool
|
|||||||
sc_adb_init(void) {
|
sc_adb_init(void) {
|
||||||
adb_executable = sc_get_env("ADB");
|
adb_executable = sc_get_env("ADB");
|
||||||
if (adb_executable) {
|
if (adb_executable) {
|
||||||
|
LOGD("Using adb: %s", adb_executable);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -49,6 +50,8 @@ sc_adb_init(void) {
|
|||||||
// Error already logged
|
// Error already logged
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LOGD("Using adb (portable): %s", adb_executable);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user