mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-12-17 05:24:19 +01:00
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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user