Detect adb if it's in PATH
tuarrep opened this issue · comments
Nicolas Perraut commented
My adb bin is in /home/nicolas/Android/Sdk/platform-tools/adb
but it's resolved by my Linux PATH.
If I run the script, it search for /usr/bin/adb
by default, I need to provide it manually through -a
.
It'll great to have it resolved automatically by using the PATH
env var
A-YATTA commented
Replacing the value of the variable "adb_path" in config.py with only adb
instead of /usr/bin/adb
or /absolute/path/to/adb
will use the PATH
env var.
Nicolas Perraut commented
Could it be the default?
…On Tue, Aug 11, 2020 at 1:13 PM SecTheTech ***@***.***> wrote:
Replacing the value of the variable "adb_path" with only adb instead of
/usr/bin/adb or /absolute/path/to/adbwill use the PATH env var.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#14 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABU6SVXFMWW6OUOPFXEQ2LTSAERT5ANCNFSM4P2X2CJA>
.