重构代码, 更新密码函数,支持传入配置文件路径并增加错误处理

This commit is contained in:
Olia Lisa
2026-05-28 14:51:17 +08:00
parent 30a50c0292
commit 499b085f05
3 changed files with 30 additions and 22 deletions
+2 -2
View File
@@ -38,7 +38,7 @@ create_tuic_acme_tls_config() {
update_port
# 设置密码
update_password
update_password "$CONFIG_FILE"
# 设置UUID
update_uuid
@@ -59,7 +59,7 @@ create_tuic_self_tls_config() {
update_port
# 设置密码
update_password
update_password "$CONFIG_FILE"
# 设置UUID
update_uuid