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