CI/AppImage: Use fuse3 compatible appimagetool (#3251)
This commit is contained in:
parent
ff77bd029f
commit
bac6f2b884
|
@ -79,9 +79,9 @@ declare -a REMOVE_LIBS=(
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
LINUXDEPLOY=./linuxdeploy-x86_64.AppImage
|
LINUXDEPLOY=./linuxdeploy-x86_64
|
||||||
LINUXDEPLOY_PLUGIN_QT=./linuxdeploy-plugin-qt-x86_64.AppImage
|
LINUXDEPLOY_PLUGIN_QT=./linuxdeploy-plugin-qt-x86_64
|
||||||
APPIMAGETOOL=./appimagetool-x86_64.AppImage
|
APPIMAGETOOL=./appimagetool-x86_64
|
||||||
PATCHELF=patchelf
|
PATCHELF=patchelf
|
||||||
|
|
||||||
if [ ! -f "$LINUXDEPLOY" ]; then
|
if [ ! -f "$LINUXDEPLOY" ]; then
|
||||||
|
@ -95,7 +95,8 @@ if [ ! -f "$LINUXDEPLOY_PLUGIN_QT" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f "$APPIMAGETOOL" ]; then
|
if [ ! -f "$APPIMAGETOOL" ]; then
|
||||||
retry_command wget -O "$APPIMAGETOOL" https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
|
APPIMAGETOOLURL=$(wget -q https://api.github.com/repos/probonopd/go-appimage/releases -O - | sed 's/[()",{} ]/\n/g' | grep -o 'https.*continuous.*tool.*86_64.*mage$' | head -1)
|
||||||
|
retry_command wget -O "$APPIMAGETOOL" "$APPIMAGETOOLURL"
|
||||||
chmod +x "$APPIMAGETOOL"
|
chmod +x "$APPIMAGETOOL"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -207,5 +208,4 @@ done
|
||||||
|
|
||||||
echo "Generating AppImage..."
|
echo "Generating AppImage..."
|
||||||
rm -f "$NAME.AppImage"
|
rm -f "$NAME.AppImage"
|
||||||
$APPIMAGETOOL -v "$OUTDIR" "$NAME.AppImage"
|
ARCH=x86_64 VERSION=test "$APPIMAGETOOL" -s "$OUTDIR" && mv ./*.AppImage "$NAME.AppImage"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue