feat.支持蓝叠国际版新版本窗口名

This commit is contained in:
MistEO
2022-04-09 13:39:49 +08:00
parent d212147aa2
commit fd04394ecd

View File

@@ -31,7 +31,9 @@
"adb": {
"path": "[EmulatorPath]Engine\\ProgramFiles\\HD-Adb.exe",
"addresses": [
"127.0.0.1:5555"
"127.0.0.1:5555",
"127.0.0.1:5556",
"127.0.0.1:5557"
],
"devices": "[Adb] devices",
"addressRegex": "(.+)\tdevice",
@@ -53,7 +55,33 @@
"adb": {
"path": "[EmulatorPath]HD-Adb.exe",
"addresses": [
"127.0.0.1:5555"
"127.0.0.1:5555",
"127.0.0.1:5556",
"127.0.0.1:5557"
],
"devices": "[Adb] devices",
"addressRegex": "(.+)\tdevice",
"connect": "[Adb] connect [Address]",
"click": "[Adb] -s [Address] shell input tap [x] [y]",
"swipe": "[Adb] -s [Address] shell input swipe [x1] [y1] [x2] [y2] [duration]",
"display": "[Adb] -s [Address] shell dumpsys window displays | grep init= | awk ' { print $3 } '",
"displayFormat": "cur=%dx%d",
"screencapRawWithGzip": "[Adb] -s [Address] exec-out \"screencap | gzip -1\"",
"screencapEncode": "[Adb] -s [Address] exec-out screencap -p",
"release": "[Adb] kill-server"
}
},
"BlueStacksInternationalNewVersion": {
"handle": {
"class": "",
"window": "BlueStacks App Player"
},
"adb": {
"path": "[EmulatorPath]HD-Adb.exe",
"addresses": [
"127.0.0.1:5555",
"127.0.0.1:5556",
"127.0.0.1:5557"
],
"devices": "[Adb] devices",
"addressRegex": "(.+)\tdevice",