appimage: fix packaging

This commit is contained in:
Alibek Omarov 2019-06-17 18:29:31 +03:00 committed by GitHub
parent 96c4044a6c
commit 7484c51490
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 4 deletions

View File

@ -3,14 +3,14 @@
APP=Xash3DFWGS
ARCH=i686
APPDIR=$APP-i386.AppDir
mkdir -p $APPDIR
# Generate extras.pak
python3 scripts/makepak.py xash-extras/ $APPDIR/extras.pak
# Copy all needed files
./waf install
mv appimage $APPDIR
# Generate extras.pak
python3 scripts/makepak.py xash-extras/ $APPDIR/extras.pak
cp SDL2_linux/lib/libSDL2-2.0.so.0 $APPDIR/
cp vgui-dev/lib/vgui.so $APPDIR/
@ -31,6 +31,9 @@ EOF
chmod +x $APPDIR/xash3d # Engine launcher
chmod +x $APPDIR/AppRun # Engine launcher script
echo "Contents of AppImage: "
ls $APPDIR
wget "https://raw.githubusercontent.com/FWGS/fwgs-artwork/master/xash3d/icon_512.png" -O $APPDIR/$APP.png
cat > $APPDIR/$APP.desktop <<EOF