Merge pull request #392 from DDS-Derek/main

This commit is contained in:
jxxghp 2023-09-02 14:44:43 +08:00 committed by GitHub
commit 2fcf5039ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
update
View File

@ -9,7 +9,8 @@ else
echo "不使用代理更新程序"
fi
if [ "${MOVIEPILOT_AUTO_UPDATE}" = "true" ]; then
if [ "${MOVIEPILOT_AUTO_UPDATE_DEV}" = "true" ]; then
echo "Dev 更新模式"
curl ${CURL_OPTIONS} "https://github.com/jxxghp/MoviePilot/archive/refs/heads/main.zip" | busybox unzip -d /tmp -
if [ $? -eq 0 ]; then
mv /tmp/MoviePilot-main /tmp/app