fix update
This commit is contained in:
parent
22b76f9919
commit
a0afd86b6a
1
update
1
update
@ -23,6 +23,7 @@ if [ "${MOVIEPILOT_AUTO_UPDATE_DEV}" = "true" ]; then
|
|||||||
# 下载插件
|
# 下载插件
|
||||||
echo "正在下载插件..."
|
echo "正在下载插件..."
|
||||||
curl ${CURL_OPTIONS} "https://github.com/jxxghp/MoviePilot-Plugins/archive/refs/heads/main.zip" | busybox unzip -d /tmp -
|
curl ${CURL_OPTIONS} "https://github.com/jxxghp/MoviePilot-Plugins/archive/refs/heads/main.zip" | busybox unzip -d /tmp -
|
||||||
|
echo "插件下载成功"
|
||||||
# 检查前端最新版本
|
# 检查前端最新版本
|
||||||
frontend_version=$(curl ${CURL_OPTIONS} "https://api.github.com/repos/jxxghp/MoviePilot-Frontend/releases/latest" | jq -r .tag_name)
|
frontend_version=$(curl ${CURL_OPTIONS} "https://api.github.com/repos/jxxghp/MoviePilot-Frontend/releases/latest" | jq -r .tag_name)
|
||||||
if [[ "${frontend_version}" == *v* ]]; then
|
if [[ "${frontend_version}" == *v* ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user