diff --git a/bin/run.sh b/bin/run.sh index b522ea8..8669f2d 100644 --- a/bin/run.sh +++ b/bin/run.sh @@ -13,9 +13,8 @@ run() { # 检查bash是否安装 check_bash_installed - local password=$(jq -r '.auth.password' "$config_dir/config.json") - # 如果配置未初始化 + local password=$(jq -r '.auth.password' "$config_dir/config.json") if [ "$password" = "你的密码" ]; then # 执行初始化脚本 bash "$script_dir/init.sh"