mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-03-12 00:45:14 +00:00
Update adb.js
This commit is contained in:
parent
86f8dcfb7c
commit
43e59679db
|
@ -32,7 +32,7 @@ function ADBObject() {
|
|||
};
|
||||
|
||||
this.getHostname = function(id) {
|
||||
return this.getProperty(id, "net.hostname").trim();
|
||||
return this.getProperty(id, "net.hostname").trim();
|
||||
};
|
||||
|
||||
this.getProperty = function(id, name) {
|
||||
|
@ -52,7 +52,7 @@ function ADBObject() {
|
|||
return SHELL.exec([this.binPath, "-s", id, "shell"].concat(args));
|
||||
} catch (e) {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user