Skip to content

Commit

Permalink
CI/AppImage: Use fuse3 compatible appimagetool (#3251)
Browse files Browse the repository at this point in the history
  • Loading branch information
Samueru-sama authored and stenzek committed Jul 14, 2024
1 parent df979d4 commit d841371
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/appimage/make-appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down Expand Up @@ -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"

0 comments on commit d841371

Please sign in to comment.