From 0866fc06470873b42301a6769e1fb8247465889f Mon Sep 17 00:00:00 2001 From: dichgrem Date: Sat, 19 Jul 2025 13:42:07 +0800 Subject: [PATCH] update:domain --- script/singbox.sh | 50 ++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 41 insertions(+), 9 deletions(-) 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" <