Add a .zsync suffix to appimagecheck URL to pass appimaged checks
Depends on changes in the master server that rewrite the appimagecheck URL.
This commit is contained in:
committed by
abcdefg30
parent
81020e70fa
commit
4ecf4f9f3f
@@ -112,7 +112,7 @@ build_appimage() {
|
|||||||
|
|
||||||
# Embed update metadata if (and only if) compiled on GitHub Actions
|
# Embed update metadata if (and only if) compiled on GitHub Actions
|
||||||
if [ -n "${GITHUB_REPOSITORY}" ]; then
|
if [ -n "${GITHUB_REPOSITORY}" ]; then
|
||||||
ARCH=x86_64 ./appimagetool-x86_64.AppImage --no-appstream -u "zsync|https://master.openra.net/appimagecheck?mod=${MOD_ID}&channel=${UPDATE_CHANNEL}&format=.zsync" "${APPDIR}" "${OUTPUTDIR}/${APPIMAGE}"
|
ARCH=x86_64 ./appimagetool-x86_64.AppImage --no-appstream -u "zsync|https://master.openra.net/appimagecheck.zsync?mod=${MOD_ID}&channel=${UPDATE_CHANNEL}" "${APPDIR}" "${OUTPUTDIR}/${APPIMAGE}"
|
||||||
zsyncmake -u "https://github.com/${GITHUB_REPOSITORY}/releases/download/${TAG}/${APPIMAGE}" -o "${OUTPUTDIR}/${APPIMAGE}.zsync" "${OUTPUTDIR}/${APPIMAGE}"
|
zsyncmake -u "https://github.com/${GITHUB_REPOSITORY}/releases/download/${TAG}/${APPIMAGE}" -o "${OUTPUTDIR}/${APPIMAGE}.zsync" "${OUTPUTDIR}/${APPIMAGE}"
|
||||||
else
|
else
|
||||||
ARCH=x86_64 ./appimagetool-x86_64.AppImage --no-appstream "${APPDIR}" "${OUTPUTDIR}/${APPIMAGE}"
|
ARCH=x86_64 ./appimagetool-x86_64.AppImage --no-appstream "${APPDIR}" "${OUTPUTDIR}/${APPIMAGE}"
|
||||||
|
|||||||
Reference in New Issue
Block a user