Merge pull request #1789 from DDS-Derek/main

This commit is contained in:
jxxghp 2024-03-30 17:44:22 +08:00 committed by GitHub
commit dfb11420e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
update
View File

@ -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 "插件更新成功"