Update adb.js

This commit is contained in:
Namhyeon Go 2022-03-03 00:17:32 +09:00 committed by GitHub
parent 428a386301
commit 7dcd4ae1d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,8 +66,8 @@ function ADBObject() {
};
// upload a file to target device
this.push = function(id, filename, dstpath) {
return SHELL.exec([this.binPath, "-s", id, "push", "data\\" + filename, dstpath]);
this.push = function(id, filename, path) {
return SHELL.exec([this.binPath, "-s", id, "push", "data\\" + filename, path]);
};
}