Skip to content

Commit

Permalink
[appimage] Use type2 runtime to avoid dependency on libfuse2
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Feb 15, 2024
1 parent 53f4db8 commit d0874bb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ci/appimage.build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ docker run \

sudo chown -R $(whoami) $BUILD_FOLDER

wget -nv "https://github.com/probonopd/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"

wget -nv "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage"
chmod a+x appimagetool-x86_64.AppImage

wget -nv "https://github.com/AppImage/type2-runtime/releases/download/continuous/runtime-x86_64"
chmod a+x runtime-x86_64.AppImage

wget -nv "https://github.com/probonopd/AppImageKit/releases/download/continuous/AppRun-x86_64"
chmod a+x AppRun-x86_64
cp AppRun-x86_64 build/score.AppDir/AppRun
Expand All @@ -34,7 +38,7 @@ if [[ ! -f "build/score.AppDir/usr/bin/ossia-score" ]]; then
exit 1
fi

./appimagetool-x86_64.AppImage -n "build/score.AppDir" "Score.AppImage"
./appimagetool-x86_64.AppImage -n "build/score.AppDir" "Score.AppImage" --runtime-file runtime-x86_64

chmod a+rwx Score.AppImage
(
Expand Down

0 comments on commit d0874bb

Please sign in to comment.