mirror of
https://github.com/Genymobile/scrcpy
synced 2024-12-18 05:14:35 +00: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:
parent
6d0ac3626d
commit
dc6c279b1e
@ -31,6 +31,7 @@ bool
|
||||
sc_adb_init(void) {
|
||||
adb_executable = sc_get_env("ADB");
|
||||
if (adb_executable) {
|
||||
LOGD("Using adb: %s", adb_executable);
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -49,6 +50,8 @@ sc_adb_init(void) {
|
||||
// Error already logged
|
||||
return false;
|
||||
}
|
||||
|
||||
LOGD("Using adb (portable): %s", adb_executable);
|
||||
#endif
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user