From d8413719c1fff031078c405e2aa0b5f99be0a22e Mon Sep 17 00:00:00 2001 From: Samuel <36420837+Samueru-sama@users.noreply.github.com> Date: Sat, 13 Jul 2024 04:24:52 -0400 Subject: [PATCH] CI/AppImage: Use fuse3 compatible appimagetool (#3251) --- scripts/appimage/make-appimage.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/appimage/make-appimage.sh b/scripts/appimage/make-appimage.sh index 747b8f308..99fc2fe86 100755 --- a/scripts/appimage/make-appimage.sh +++ b/scripts/appimage/make-appimage.sh @@ -79,9 +79,9 @@ declare -a REMOVE_LIBS=( set -e -LINUXDEPLOY=./linuxdeploy-x86_64.AppImage -LINUXDEPLOY_PLUGIN_QT=./linuxdeploy-plugin-qt-x86_64.AppImage -APPIMAGETOOL=./appimagetool-x86_64.AppImage +LINUXDEPLOY=./linuxdeploy-x86_64 +LINUXDEPLOY_PLUGIN_QT=./linuxdeploy-plugin-qt-x86_64 +APPIMAGETOOL=./appimagetool-x86_64 PATCHELF=patchelf if [ ! -f "$LINUXDEPLOY" ]; then @@ -95,7 +95,8 @@ if [ ! -f "$LINUXDEPLOY_PLUGIN_QT" ]; then fi 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" fi @@ -207,5 +208,4 @@ done echo "Generating AppImage..." rm -f "$NAME.AppImage" -$APPIMAGETOOL -v "$OUTDIR" "$NAME.AppImage" - +ARCH=x86_64 VERSION=test "$APPIMAGETOOL" -s "$OUTDIR" && mv ./*.AppImage "$NAME.AppImage"