Merge branch 'master' of https://git.yutou233.cn/yutou/utools_adb
This commit is contained in:
commit
23bb4cfff7
@ -219,8 +219,7 @@
|
||||
|
||||
}
|
||||
$('#showPack').click(function () {
|
||||
var dv = devices[0].split(/\s+/);
|
||||
window.adb("adb -s "+dv[0]+" shell pm list package", (stdout, error) => {
|
||||
window.adb("adb shell pm list package", (stdout, error) => {
|
||||
if (error == true) {
|
||||
log(stdout)
|
||||
return;
|
||||
@ -242,8 +241,7 @@
|
||||
})
|
||||
})
|
||||
$('#showTopActivity').click(function () {
|
||||
var dv = devices[0].split(/\s+/);
|
||||
window.adb("adb -s "+dv[0]+" shell dumpsys window | findstr mCurrentFocus", (data, error) => {
|
||||
window.adb("adb shell dumpsys window | findstr mCurrentFocus", (data, error) => {
|
||||
log(data)
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user