Add interactive navctl menu for install, uninstall, and update.

Provide navctl.py with a numbered menu, persist install path in config, and support curl bootstrap without pre-cloning the repo.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-12 12:01:01 +08:00
parent fc23a95e5c
commit f508f210f9
11 changed files with 608 additions and 278 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
# 复制本文件为 .env 后按需修改(.env 勿提交到 Git)
# 与 app.py 同目录;程序启动时自动加载。
# 也可运行 python scripts/install.py 自动克隆并部署(无需预先 git clone
# 也可运行 python scripts/navctl.py 进入交互菜单(无需预先 git clone
# 必填(长期运行):随机字符串,用于会话与 CSRF。
# 一键部署脚本会自动生成;手动生成:openssl rand -hex 32