From a2da384dfd810f0acb9e7266af0f1e01e24d5baf Mon Sep 17 00:00:00 2001 From: Olia Lisa Date: Wed, 26 Nov 2025 09:59:49 +0800 Subject: [PATCH] fix bug --- bin/run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/run.sh b/bin/run.sh index e56ed0b..9c85392 100644 --- a/bin/run.sh +++ b/bin/run.sh @@ -14,8 +14,8 @@ run() { check_bash_installed # 如果配置没有创建 - if [ ! -e "$config_dir/../config.json" ]; then - touch "$config_dir/../config.json" + if [ ! -e "$config_dir/config.json" ]; then + touch "$config_dir/config.json" fi local password=$(jq -r '.auth.password' "$config_dir/config.json") if [ ! -s "$config_dir/config.json" ] || [ "$password" = "你的密码" ]; then @@ -29,4 +29,4 @@ run() { bash "$script_dir/print_share_link.sh" } -run # 启动容器 \ No newline at end of file +run # 启动容器