fix(installer): count verify progress stage

This commit is contained in:
Vincent Koc
2026-05-24 15:50:16 +02:00
parent 5bffd17e01
commit 102b2c18e9
3 changed files with 29 additions and 1 deletions
+9
View File
@@ -339,6 +339,14 @@ ui_error() {
INSTALL_STAGE_TOTAL=3
INSTALL_STAGE_CURRENT=0
configure_install_stage_total() {
INSTALL_STAGE_TOTAL=3
INSTALL_STAGE_CURRENT=0
if [[ "${VERIFY_INSTALL:-0}" == "1" ]]; then
INSTALL_STAGE_TOTAL=4
fi
}
ui_section() {
local title="$1"
if [[ -n "$GUM" ]]; then
@@ -3126,6 +3134,7 @@ main() {
if [[ "${OPENCLAW_INSTALL_SH_NO_RUN:-0}" != "1" ]]; then
parse_args "$@"
configure_install_stage_total
configure_verbose
main
fi