let webusb = await Adb.open("WebUSB");
let adb = await webusb.connectAdb("host::");
let shell = await adb.shell("uname -a");
console.log(await shell.receive());
klausw / webadb.js Goto Github PK
View Code? Open in Web Editor NEWThis project forked from webadb/webadb.js
ADB host implementation based on WebUSB
Home Page: https://webadb.github.io
License: MIT License