From 0d8d95a340ed04370746c1d94611c5550eac85ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Tue, 6 Oct 2026 20:00:59 -0400 Subject: [PATCH] Detect the Chinese finish screen by its title in the harness --- bin/omarchy-iso-test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/omarchy-iso-test b/bin/omarchy-iso-test index 2266247..7de2f08 100755 --- a/bin/omarchy-iso-test +++ b/bin/omarchy-iso-test @@ -828,7 +828,8 @@ wait_for_install() { while true; do text=$(ocr_screen) - if grep -qi "$(region_text "Reboot Now" "立即重启")" <<<"$text"; then + # OCR cannot read the Chinese reboot button, so China matches the title above it. + if grep -qi "$(region_text "Reboot Now" "安装完成")" <<<"$text"; then log "Install finished. Confirming the reboot prompt." capture_console "success-installer-15-reboot" press ret