added fixes for connecting issues including restoring the adb files if any are missing and better handling of errors.

This commit is contained in:
Shane Harris
2021-08-24 12:10:20 +02:00
parent ae4e2b1556
commit c6d1f69fd4
4 changed files with 42 additions and 40 deletions
+1 -1
View File
@@ -327,7 +327,7 @@ class ADB {
if (!this.client) return ecb('Not connected.');
this.client
.listDevices()
.then(cb)
.then(d => cb(d))
.catch(e => ecb(e));
}
setProperties(serial, command, cb, ecb) {