Re-load deploy helpers after pull and wait for HTTP ready.

Quick update was verifying with stale in-memory functions before Flask bound.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-13 20:21:15 +08:00
parent fd063c56f8
commit 09265b608d
2 changed files with 43 additions and 1 deletions
+3
View File
@@ -19,6 +19,9 @@ require_installed() {
update_quick() {
step "快速更新"
bash "${REPO_ROOT}/deploy/pull_and_restart.sh"
# git pull 后重新加载,避免菜单进程仍用旧的 verify_deployment
# shellcheck source=common.sh
source "${LIB_DIR}/common.sh"
verify_deployment "$(detect_server_ip)" || true
}