Fix curl|bash manage.sh: reattach /dev/tty; add update subcommand.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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
|
||||
```
|
||||
```
|
||||
|
||||
菜单:
|
||||
|
||||
Reference in New Issue
Block a user