Browse Source

appimage: fix packaging

pull/2/head
Alibek Omarov 5 years ago committed by GitHub
parent
commit
7484c51490
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      scripts/build_appimage.sh

11
scripts/build_appimage.sh

@ -3,14 +3,14 @@ @@ -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 @@ -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

Loading…
Cancel
Save