chaos a6fbf3c175 修复管道执行模式:支持 curl | bash 非交互式部署
- 新增 is_piped() 检测 stdin 是否为 tty
- 新增 read_or_default() 函数,管道模式下自动使用环境变量或默认值
- 所有 read -p 交互式输入替换为 read_or_default
- 支持环境变量覆盖: GATEWAY_PORT/REMOTE_PORT/APPEND_FRP/USE_VENV/INSTALL_FRP
- 修复 curl | bash 执行时 read 导致端口验证失败的 bug
2026-07-02 14:45:47 +08:00
S
Description
No description provided
134 KiB
Languages
Shell 67.4%
Python 32.6%