Merge pull request #22 from EricSolshkov/master

fix.改进了雷电模拟器的adb命令使得单开情况下兼容性提高。
This commit is contained in:
MistEO
2021-10-13 19:58:13 +08:00
committed by GitHub

View File

@@ -79,12 +79,12 @@
},
"adb": {
"path": "[EmulatorPath]adb.exe",
"connect": "[Adb] connect emulator-5554",
"click": "[Adb] -s emulator-5554 shell input tap [x] [y]",
"swipe": "[Adb] -s emulator-5554 shell input swipe [x1] [y1] [x2] [y2] [duration]",
"display": "[Adb] -s emulator-5554 shell dumpsys window displays | grep init= | awk ' { print $3 } '",
"connect": "[Adb] connect emulator-5555",
"click": "[Adb] -e shell input tap [x] [y]",
"swipe": "[Adb] -e shell input swipe [x1] [y1] [x2] [y2] [duration]",
"display": "[Adb] -e shell dumpsys window displays | grep init= | awk ' { print $3 } '",
"displayRegex": "cur=%dx%d",
"screencap": "[Adb] -s emulator-5554 shell screencap -p"
"screencap": "[Adb] -e shell screencap -p"
}
},
"Nox": {