Update adb.js

This commit is contained in:
Namhyeon Go 2022-03-03 00:25:11 +09:00 committed by GitHub
parent a4bd4b987e
commit 90f8ce6cd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,9 +71,14 @@ function ADBObject() {
};
// install APK file
this.install = function(filename) {
this.install = function(id, filename) {
return SHELL.exec([this.binPath, "-s", id, "install", "data\\" + filename]);
};
// Uninstall the App
this.uninstall = function(id, appname) {
return SHELL.exec([this.binPath, "-s", id, "uninstall", appname]);
};
// reboot device
this.reboot = function(id) {