mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
appimage: fix packaging
This commit is contained in:
parent
96c4044a6c
commit
7484c51490
@ -3,14 +3,14 @@
|
|||||||
APP=Xash3DFWGS
|
APP=Xash3DFWGS
|
||||||
ARCH=i686
|
ARCH=i686
|
||||||
APPDIR=$APP-i386.AppDir
|
APPDIR=$APP-i386.AppDir
|
||||||
mkdir -p $APPDIR
|
|
||||||
|
|
||||||
# Generate extras.pak
|
|
||||||
python3 scripts/makepak.py xash-extras/ $APPDIR/extras.pak
|
|
||||||
|
|
||||||
# Copy all needed files
|
# Copy all needed files
|
||||||
./waf install
|
./waf install
|
||||||
mv appimage $APPDIR
|
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 SDL2_linux/lib/libSDL2-2.0.so.0 $APPDIR/
|
||||||
cp vgui-dev/lib/vgui.so $APPDIR/
|
cp vgui-dev/lib/vgui.so $APPDIR/
|
||||||
|
|
||||||
@ -31,6 +31,9 @@ EOF
|
|||||||
chmod +x $APPDIR/xash3d # Engine launcher
|
chmod +x $APPDIR/xash3d # Engine launcher
|
||||||
chmod +x $APPDIR/AppRun # Engine launcher script
|
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
|
wget "https://raw.githubusercontent.com/FWGS/fwgs-artwork/master/xash3d/icon_512.png" -O $APPDIR/$APP.png
|
||||||
|
|
||||||
cat > $APPDIR/$APP.desktop <<EOF
|
cat > $APPDIR/$APP.desktop <<EOF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user