refactor: 修改函数名字

This commit is contained in:
Olia Lisa
2026-07-20 15:39:11 +08:00
parent d85371db37
commit 79398241f4
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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
+1 -1
View File
@@ -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"