重构代码,统一项目入口为install.sh

This commit is contained in:
Olia Lisa
2026-01-15 13:38:07 +08:00
parent 737378d7ee
commit 2c4a44f924
11 changed files with 55 additions and 73 deletions
-3
View File
@@ -3,7 +3,6 @@
update_reality_dest(){
local script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
local config_dir="$script_dir/../conf"
source $script_dir/utils/jq_util.sh
# 获取当前dest值
local old_dest=$(jq -r '.inbounds[0].streamSettings.realitySettings.dest' "$config_dir/config.json")
@@ -33,5 +32,3 @@ update_reality_dest(){
echo "修改realty_dest成功"
}
update_reality_dest