openatx / adbutils

pure python adb library for google adb service.
MIT License
780 stars 180 forks source link

Modified __init__.py to support initialize AdbClient with custom adb file path #55

Closed the-eric-kwok closed 2 years ago

the-eric-kwok commented 2 years ago

制作了一个粗浅的魔改,但是没有进行严格的测试,也没有更新版本号。还请大佬海涵🙏 对应的 issue: #54

ReenigneArcher commented 2 years ago

I could see there being a benefit of a user supplying a custom adb binary. Any particular reason why this was closed?

codeskyblue commented 2 years ago

Now support custom adb file path with env-var ADBUTILS_ADB_PATH

ReenigneArcher commented 2 years ago

Now support custom adb file path with env-var ADBUTILS_ADB_PATH

Okay, passing in the path as a variable would be a better option. Not every project using adbutils will be able to (or want to) change the environment variables.

codeskyblue commented 2 years ago

use variable will make code a little complicated. em...