From 0199c7b12f8f875318a93bf4e84ae9d99fa601e6 Mon Sep 17 00:00:00 2001 From: Joey Date: Mon, 24 Aug 2026 22:36:17 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- start.command | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/start.command b/start.command index 33b7443..c34930b 100755 --- a/start.command +++ b/start.command @@ -36,8 +36,9 @@ fi if [[ ! -d server/.venv ]]; then echo "未找到 server/.venv,正在创建并安装依赖…" python3 -m venv server/.venv || exit 1 - server/.venv/bin/pip install -q -r server/requirements.txt || exit 1 fi +# 每次启动同步依赖:代码新增依赖(如 Pillow)装上即可用,已满足时秒过 +server/.venv/bin/pip install -q -r server/requirements.txt || exit 1 if [[ ! -f .env ]]; then echo "未找到 .env,已从 .env.example 复制,请填入 API Key 后再启动。"