Merge pull request #1386 from hussion/dev

This commit is contained in:
jxxghp 2024-01-19 10:52:10 +08:00 committed by GitHub
commit 16a4f61fec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
update
View File

@ -84,7 +84,7 @@ if [[ "${MOVIEPILOT_AUTO_UPDATE}" = "true" ]] || [[ "${MOVIEPILOT_AUTO_UPDATE}"
echo "不使用代理更新程序"
fi
if [ -n "${GITHUB_TOKEN}" ]; then
CURL_HEADERS="--header 'Authorization: Bearer ${GITHUB_TOKEN}'"
CURL_HEADERS="--oauth2-bearer ${GITHUB_TOKEN}"
else
CURL_HEADERS=""
fi