fix(deploy): 修正 Gitea 仓库路径 ssw/ipass → ipass/ipass

update-agent-face.sh 与 readme.md 的 192.168.1.18:13300/raw 路径
一直写成 /ssw/ipass,实际仓库已迁移到 /ipass/ipass,需同步修正。

Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
adminandClaude Opus 4.8 committed 2026-09-24 16:23:39 +08:00
1 parent 9c46e27eb5
commit 67e0953dff
2 files changed
+4 -4

No files matched your search

+3 -3
View File
@@ -6,9 +6,9 @@
# 停旧控制面 → 按原参数重启 → /health 自检
#
# 用法(在 .11 上、用跑控制面的那个账号):
# bash <(curl -fsSL http://192.168.1.18:13300/ssw/ipass/raw/branch/main/deploy/update-agent-face.sh)
# bash <(curl -fsSL http://192.168.1.18:13300/ipass/ipass/raw/branch/main/deploy/update-agent-face.sh)
# 或分两步:
# curl -fsSL http://192.168.1.18:13300/ssw/ipass/raw/branch/main/deploy/update-agent-face.sh -o /tmp/uaf.sh
# curl -fsSL http://192.168.1.18:13300/ipass/ipass/raw/branch/main/deploy/update-agent-face.sh -o /tmp/uaf.sh
# bash /tmp/uaf.sh
#
# 安全性:
@@ -18,7 +18,7 @@
# =============================================================================
set -euo pipefail
RAW_BASE="http://192.168.1.18:13300/ssw/ipass/raw"
RAW_BASE="http://192.168.1.18:13300/ipass/ipass/raw"
# 主/备两种 Gitea raw 路径形态(不同版本分支写法不同,逐个试)
RAW_PATHS=(
"$RAW_BASE/branch/main/deploy/ipass-agent.py"
+1 -1
View File
@@ -688,7 +688,7 @@ tail -f ~/ipass-agent.log # 日志(pid 在 ~/ipass-agent
**远程自更新(.11 上执行,改控制面不用人工拷文件)**:
```bash
bash <(curl -fsSL http://192.168.1.18:13300/ssw/ipass/raw/branch/main/deploy/update-agent-face.sh)
bash <(curl -fsSL http://192.168.1.18:13300/ipass/ipass/raw/branch/main/deploy/update-agent-face.sh)
```
脚本自动:从 Gitea raw 下载新版 → 备份旧版(`*.bak-<时间戳>`)→ `py_compile` 校验 →