diff --git a/script/singbox.sh b/script/singbox.sh index 707d3d3..8a93202 100644 --- a/script/singbox.sh +++ b/script/singbox.sh @@ -80,7 +80,6 @@ install_singbox() { VERSION=$($BIN_PATH version | head -n1 | awk '{print $NF}') printf "${GREEN}已安装/更新 sing-box 版本:%s${NC}\n" "$VERSION" - # 生成参数 UUID=$($BIN_PATH generate uuid) KEY_OUTPUT=$($BIN_PATH generate reality-keypair) PRIVATE_KEY=$(echo "$KEY_OUTPUT" | awk -F': ' '/PrivateKey/ {print $2}') @@ -91,7 +90,6 @@ install_singbox() { PORT=443 SPX="/" - # 写入配置和状态 mkdir -p "$CONFIG_DIR" cat >"$CONFIG_DIR/config.json" <