优化自动脚本逻辑

This commit is contained in:
2026-07-26 12:53:11 +08:00
parent ebba194fbc
commit 88046018a8
+4
View File
@@ -574,8 +574,12 @@ do_deploy() {
print_title
}
# ---------- 主流程 ----------
# ---------- 主流程 ----------
main() {
# 清屏,让输出从头开始
clear 2>/dev/null || true
parse_args "$@"
check_root