浏览代码

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

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
tuanchris 4 月之前
父节点
当前提交
42f40da22d
共有 1 个文件被更改,包括 3 次插入1 次删除
  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