From 6a39dc7b176f2d82077d5901ba18a04822e147df Mon Sep 17 00:00:00 2001 From: Olia Lisa Date: Sat, 8 Feb 2025 22:50:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A2=9E=E5=8A=A0jq=E5=AE=89=E8=A3=85?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E5=B9=B6=E4=BF=AE=E6=AD=A3=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E8=AF=BB=E5=8F=96=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/run.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/run.sh b/bin/run.sh index 85b287f..17b7f48 100644 --- a/bin/run.sh +++ b/bin/run.sh @@ -3,6 +3,11 @@ script_dir=$(cd "$(dirname "$0")"; pwd) # 脚本文件绝对路径 config_dir=$(readlink -f "$script_dir/../") # 配置文件绝对路径 +source $script_dir/utils/base.sh + +# 检查jq是否安装 +check_jq + password=$(jq -r '.auth.password' $config_dir/config.json) # 如果配置未初始化