Skip to content

Commit

Permalink
Remove libasound from appimage it needs to use systems library
Browse files Browse the repository at this point in the history
  • Loading branch information
joyrider3774 committed May 14, 2023
1 parent f9a34ed commit 373b787
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion appimage-x86_64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,14 @@ cp "$DATA/data/io.github.joyrider3774.znax.svg" "$PROJ.AppDir/$PROJ.svg"
cp -R "$DATA" "$PROJ.AppDir/usr"
cd "$PROJ.AppDir"
cp "$SDL_LIB_DIR"/* usr/lib
rm usr/lib/*.a
rm -f usr/lib/*.a
#remove some blacklisted libs as per https://github.com/AppImageCommunity/pkg2appimage/blob/master/excludelist
#definatly need to remove libasound as it causes issues on systems not running pulse
rm -f usr/lib/libasound*
#if i removed these below even though they are blacklisted the game would not run on my "clean ubuntu 16.04 vm" so i still include them
#rm -f usr/lib/libfreetype*
#rm -f usr/lib/libharfbuzz*
#rm -f usr/lib/libz*
strip usr/bin/* usr/lib/*

echo "[Desktop Entry]
Expand Down

0 comments on commit 373b787

Please sign in to comment.