Browse Source

Move UART prompt to start of setup before long-running installs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
tuanchris 4 tháng trước cách đây
mục cha
commit
42f40da22d
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      setup-pi.sh

+ 3 - 1
setup-pi.sh

@@ -497,6 +497,9 @@ main() {
     echo "Install directory: $INSTALL_DIR"
     echo ""
 
+    # Ask connection type upfront (before long-running installs)
+    configure_uart
+
     # Run setup steps
     check_raspberry_pi
     install_system_deps
@@ -513,7 +516,6 @@ main() {
         setup_autohotspot
     fi
 
-    configure_uart
     install_lgpio
     deploy_native
     install_cli