mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-03-11 16:35:13 +00:00
Update adb.js
This commit is contained in:
parent
a4bd4b987e
commit
90f8ce6cd9
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user