From 584c8a2d9416ef1977eef85f4bd38ad5fdd0cc53 Mon Sep 17 00:00:00 2001 From: DDSRem <73049927+DDSRem@users.noreply.github.com> Date: Sat, 30 Mar 2024 17:41:04 +0800 Subject: [PATCH] feat: install the plug-in pip extension in advance --- update | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update b/update index f84dcb98..06be4e9f 100644 --- a/update +++ b/update @@ -55,6 +55,8 @@ install_backend_and_download_resources() { cp -a /plugins/* /app/app/plugins/ # 插件仓库 rsync -av --remove-source-files /tmp/Plugins/plugins/* /app/app/plugins/ + # 提前安装插件依赖 + find /app/app/plugins -name requirements.txt -exec pip install ${PIP_OPTIONS} -r {} \; # 清理临时目录 rm -rf /tmp/* echo "插件更新成功"