diff --git a/bin/create_config.sh b/bin/create_config.sh index 9556d98..954a090 100644 --- a/bin/create_config.sh +++ b/bin/create_config.sh @@ -13,7 +13,7 @@ create_reality_config(){ update_short_id # 生成密钥对, 修改config.json中的密钥属性 - update_key + update_reality_key # 设置端口 update_port 443 @@ -32,12 +32,12 @@ create_xhttp_reality_config(){ # 生成uuid, 写入到config.json文件 update_uuid - + # 生成shor_id, 写入到config.json文件 update_short_id # 生成密钥对, 修改config.json中的密钥属性 - update_key + update_reality_key # 生成xhttp_path, 写入到config.json文件 update_xhttp_path diff --git a/bin/reality.sh b/bin/reality.sh index 4ab7569..88d3474 100644 --- a/bin/reality.sh +++ b/bin/reality.sh @@ -1,6 +1,6 @@ #!/bin/bash -update_key(){ +update_reality_key(){ local script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # 脚本文件绝对路径 local config_dir="$script_dir/../conf"