From fb704a08feb22d5d92ceda04b69f613386efc603 Mon Sep 17 00:00:00 2001 From: Olia Lisa Date: Sat, 10 Jan 2026 18:46:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=87=BD=E6=95=B0change=5Fre?= =?UTF-8?q?ality=5Fdest?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/install.sh b/install.sh index 8f1200d..5a66469 100644 --- a/install.sh +++ b/install.sh @@ -58,23 +58,6 @@ install_dependencies() { } -change_reality_dest(){ - local config_dir="./conf" - - # 输入dest值 - local old_dest=$(jq -r '.inbounds[0].streamSettings.realitySettings.dest' "$config_dir/config.json") - local dest - read -p "请输入新的dest地址[当前地址: $old_dest]: " dest - - local domain=$(echo "$dest" | awk -F ':' '{print $1}') - - sed -i "s/你的reality_dest/$domain/g" "$config_dir/config.json" - - echo "配置文件修改realty_dest成功!" - echo "新的dest地址为: $dest" - echo "新的serverNames数组为: [\"$domain\"]" -} - main(){ # 显示菜单 echo "请选择一个操作:"