support redmi 12 note pro
This commit is contained in:
@@ -222,6 +222,8 @@ class CommandorPage {
|
||||
if (this.firstStart) {
|
||||
this.disconnectBrowser()
|
||||
}
|
||||
await delay(2000)
|
||||
await this.checkResultWithOcr();
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
}
|
||||
@@ -817,7 +819,10 @@ class CommandorPage {
|
||||
OCRResult.TO_SKIP
|
||||
:
|
||||
logWithDevice("TO_SKIP", this.device)
|
||||
this.device.shell("input tap " + 488 + " " + 1848)
|
||||
if (this.device.model() === "21091116C")
|
||||
this.device.shell("input tap " + 530 + " " + 1742)
|
||||
else
|
||||
this.device.shell("input tap " + 488 + " " + 1848)
|
||||
await delay(2000);
|
||||
break;
|
||||
case
|
||||
@@ -965,6 +970,8 @@ class CommandorPage {
|
||||
this.device.shell("input tap " + 550 + " " + 1920)
|
||||
} else if (model === "ONEPLUS A6000") {
|
||||
this.device.shell("input tap " + 535 + " " + 1945)
|
||||
} else if (model === "21091116C") {
|
||||
this.device.shell("input tap " + 510 + " " + 1975)
|
||||
} else if (model === "MI 5s") {
|
||||
this.device.shell("input tap " + 510 + " " + 1615)
|
||||
} else
|
||||
|
||||
Reference in New Issue
Block a user