修改config位置

This commit is contained in:
Olia Lisa
2025-12-29 18:34:43 +08:00
parent 8661527fc0
commit bfa08217b7
8 changed files with 60 additions and 7 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
# 更新密码的函数
update_password() {
local script_dir="$(dirname "$(realpath "$0")")"
local config_file="$script_dir/../config.json"
local config_file="$script_dir/../config/config.json"
# 加载工具脚本
source "$script_dir/utils/base.sh"