Compare commits
1 Commits
23bb4cfff7
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 73d30de5ee |
@@ -219,7 +219,8 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
$('#showPack').click(function () {
|
$('#showPack').click(function () {
|
||||||
window.adb("adb shell pm list package", (stdout, error) => {
|
var dv = devices[0].split(/\s+/);
|
||||||
|
window.adb("adb -s "+dv[0]+" shell pm list package", (stdout, error) => {
|
||||||
if (error == true) {
|
if (error == true) {
|
||||||
log(stdout)
|
log(stdout)
|
||||||
return;
|
return;
|
||||||
@@ -241,7 +242,8 @@
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
$('#showTopActivity').click(function () {
|
$('#showTopActivity').click(function () {
|
||||||
window.adb("adb shell dumpsys window | findstr mCurrentFocus", (data, error) => {
|
var dv = devices[0].split(/\s+/);
|
||||||
|
window.adb("adb -s "+dv[0]+" shell dumpsys window | findstr mCurrentFocus", (data, error) => {
|
||||||
log(data)
|
log(data)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user