Fix curl|bash manage.sh: reattach /dev/tty; add update subcommand.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-18 08:32:08 +08:00
parent 8c4afe7781
commit 27d14472ea
3 changed files with 74 additions and 2 deletions
+8
View File
@@ -14,6 +14,14 @@
```bash
curl -fsSL https://git.bz121.com/dekun/gold_monitor/raw/branch/main/deploy/manage.sh | bash
已安装后若只要更新,用非交互命令(`curl|bash` 直接进菜单会因 stdin 被占用而失败):
```bash
curl -fsSL https://git.bz121.com/dekun/gold_monitor/raw/branch/main/deploy/manage.sh | bash -s -- update
# 或本机:
bash /opt/gold_monitor/deploy/manage.sh update
```
```
菜单: