Merge pull request #1567 from sundxfansky/main
This commit is contained in:
2
update
2
update
@ -19,6 +19,8 @@ download_and_unzip() {
|
|||||||
|
|
||||||
# 下载程序资源,$1: 后端版本路径
|
# 下载程序资源,$1: 后端版本路径
|
||||||
install_backend_and_download_resources() {
|
install_backend_and_download_resources() {
|
||||||
|
# 清理临时目录,上次安装失败可能有残留
|
||||||
|
rm -rf /tmp/*
|
||||||
if download_and_unzip "https://github.com/jxxghp/MoviePilot/archive/refs/${1}" "App"; then
|
if download_and_unzip "https://github.com/jxxghp/MoviePilot/archive/refs/${1}" "App"; then
|
||||||
echo "后端程序下载成功"
|
echo "后端程序下载成功"
|
||||||
pip install ${PIP_OPTIONS} --upgrade pip
|
pip install ${PIP_OPTIONS} --upgrade pip
|
||||||
|
Reference in New Issue
Block a user