mirror of
https://github.com/zebrajr/SamRewritten.git
synced 2025-12-06 12:19:51 +01:00
[CI] Build AppImage (#150)
lib was re-added before packaging appimage. remove prior to packaging
This commit is contained in:
parent
895b5e3865
commit
94b33c7340
|
|
@ -7,11 +7,12 @@ if [ ! -f ../bin/samrewritten ]; then
|
|||
popd
|
||||
fi
|
||||
|
||||
export LINUXDEPLOY="linuxdeploy-x86_64.AppImage --appimage-extract-and-run"
|
||||
export LINUXDEPLOY="squashfs-root/usr/bin/linuxdeploy"
|
||||
|
||||
rm -rf AppDir
|
||||
chmod +x ${LINUXDEPLOY%%--*}
|
||||
./$LINUXDEPLOY --appdir AppDir
|
||||
chmod +x linuxdeploy-x86_64.AppImage
|
||||
./linuxdeploy-x86_64.AppImage --appimage-extract
|
||||
$LINUXDEPLOY --appdir AppDir
|
||||
grep -v Icon samrewritten.desktop > AppDir/myapp.desktop
|
||||
echo Icon=myapp >> AppDir/myapp.desktop
|
||||
cp ../assets/icon_256.png AppDir/myapp.png
|
||||
|
|
@ -32,4 +33,8 @@ cp ../bin/samrewritten AppDir/usr/bin
|
|||
cp ../bin/libsteam_api.so AppDir/usr/lib
|
||||
cp ../assets/icon_256.png AppDir/usr/assets/
|
||||
|
||||
LD_LIBRARY_PATH=AppDir/usr/lib ./$LINUXDEPLOY --appdir AppDir --exclude-library=libgmodule-2.0 --output appimage
|
||||
LD_LIBRARY_PATH=AppDir/usr/lib $LINUXDEPLOY --appdir AppDir
|
||||
rm AppDir/usr/lib/libglib-2.0.so.0
|
||||
|
||||
$LINUXDEPLOY-plugin-appimage --appdir AppDir
|
||||
rm -rf squashfs-root
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user