重构代码,统一项目入口为install.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user