Skip to content

Commit c0dc58a

Browse files
committed
appimage: apprun symlink was not enough
1 parent fccab02 commit c0dc58a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ci/appimage.build.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,11 @@ chmod a+x runtime-${CPU_ARCH}
5151
(
5252
cd "$BUILD_FOLDER/score.AppDir"
5353
rm -rf AppRun
54-
ln -s usr/bin/ossia-score AppRun
54+
echo "#!/bin/sh
55+
export LD_LIBRARY_PATH="${APPIMAGE_LIBRARY_PATH}:${APPDIR}/usr/lib:${LD_LIBRARY_PATH}"
56+
exec "${APPDIR}/usr/bin/ossia-score"
57+
" > AppRun
58+
chmod +x AppRun
5559
)
5660

5761
cp "$SOURCE_FOLDER/cmake/Deployment/Linux/AppImage/ossia-score.desktop" build/score.AppDir/

0 commit comments

Comments
 (0)