From d79260a6e2b3682a69f1da341e9d9dcb91fd42f7 Mon Sep 17 00:00:00 2001 From: WWWw <109729945+initialencounter@users.noreply.github.com> Date: Tue, 14 May 2024 09:20:55 +0800 Subject: [PATCH] chore: unzip -q --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index d20e608..170aebf 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -17,7 +17,7 @@ CONFIG_PATH=napcat/config/onebot11_$ACCOUNT.json if [ ! -f "$CONFIG_PATH" ]; then # 安装 napcat rarch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/x64/) - unzip NapCat.linux.${rarch}.zip -d . + unzip -q NapCat.linux.${rarch}.zip mv NapCat.linux.${rarch}/config/* napcat/config/ && rmdir NapCat.linux.${rarch}/config mv NapCat.linux.${rarch}/* napcat/ chmod +x napcat/napcat.sh