fix: regex match text for app install

This commit is contained in:
lilong.129
2024-10-24 19:39:11 +08:00
parent 0aa45e8f0e
commit efaa03c636
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
v5.0.0-beta-2410232102
v5.0.0-beta-2410241939

View File

@@ -104,7 +104,7 @@ func (dExt *DriverExt) Install(filePath string, options ...InstallOption) error
_ = dExt.Driver.TapByTexts(actions...)
_ = dExt.TapByOCR(
"^(.*无视风险安装|确定|继续|完成|点击继续安装|继续安装旧版本|替换|安装|授权本次安装|继续安装|重新安装)$",
"^.*(无视风险安装|确定|继续|完成|点击继续安装|继续安装旧版本|替换|授权本次安装|现在安装|继续安装|重新安装|安装)$",
WithRegex(true), WithIgnoreNotFoundError(true),
)
case <-stopChan: