重构代码,统一项目入口为install.sh
This commit is contained in:
@@ -4,7 +4,6 @@ update_xhttp_path(){
|
||||
|
||||
local script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # 脚本文件绝对路径
|
||||
local config_dir="$script_dir/../conf"
|
||||
source $script_dir/utils/jq_util.sh
|
||||
|
||||
local path_length="$(( RANDOM % 4 + 8 ))"
|
||||
local xhttp_path="/"$(docker run --rm teddysun/xray:latest xray uuid | tr -d '-' | cut -c 1-$path_length)
|
||||
@@ -14,5 +13,3 @@ update_xhttp_path(){
|
||||
|
||||
echo "设置xhttp_path成功"
|
||||
}
|
||||
|
||||
update_xhttp_path
|
||||
|
||||
Reference in New Issue
Block a user