alesimula / wsa_pacman

A GUI package manager and package installer for Windows Subsystem for Android (WSA)
GNU General Public License v3.0
3.9k stars 836 forks source link

Can you add the option to add a custom adb.exe location and option to kill adb.exe ? #116

Open whitelightning76 opened 1 year ago

whitelightning76 commented 1 year ago

Hi,

Can you please add the option to add a custom adb.exe location ? I tried deleting the files inside embedded-tools folder, but while the other adb.exe was added in the environment variables path , it did not launch. it did launch when i moved the new files in the embedded-tools location, so it only launches adb from that location.

When I turn WSA or developer settings off, adb is still running in the background. it would be very nice if it was closed automatically when WSA is turned off . And with a option in the WSA packager manager menu it force close it in case something is wrong,and adb needs to be forced closed.

Thanks!

alesimula commented 1 year ago

@whitelightning76 If i were to turn adb.exe off automatically when WSA is closed, it could potentially interfere with other programs using adb as they share the same daemon. Maybe I can add a shutdown button in settings and an option to use the installed/custom platform-tools directory instead of the embedded adb.

BTW embedded-tools still contains other programs like aapt.exe (used to read .apk resource values) and axmldec.exe (used to decode binary XMLs of adaptive app icons)