From c27d29feee6739ef8b4cb9f1ba90716c5e362495 Mon Sep 17 00:00:00 2001 From: Olia Lisa Date: Mon, 29 Dec 2025 20:34:12 +0800 Subject: [PATCH] fix bug --- bin/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/run.sh b/bin/run.sh index 9af8d00..ca7f87f 100644 --- a/bin/run.sh +++ b/bin/run.sh @@ -17,7 +17,7 @@ run() { if [ ! -e "$config_dir/config.json" ]; then touch "$config_dir/config.json" fi - local password=$(jq -r '.inbounds[0].users[0].password' "$config_file") + local password=$(jq -r '.inbounds[0].users[0].password' "$config_dir/config.json") if [ ! -s "$config_dir/config.json" ] || [ "$password" = "你的密码" ]; then bash "$script_dir/create_config.sh" # 创建配置 fi