mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-12-28 19:55:09 +01:00
scripts: gha: include extras in MAGX and Win32 builds too (Linux and Android already have it)
This commit is contained in:
parent
13cf909b99
commit
6b332eabd2
@ -23,13 +23,14 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR1:$LIBDIR2:$LIBDIR3
|
||||
export HOME=$mypath
|
||||
export SDL_QT_INVERT_ROTATION=1
|
||||
export SWAP_PATH=$HOME/xash.swap
|
||||
export XASH3D_EXTRAS_PAK1=$HOME/extras.pak
|
||||
cd $mypath
|
||||
sleep 1
|
||||
|
||||
exec $mypath/xash -dev $@
|
||||
EOF
|
||||
|
||||
python3 scripts/makepak.py xash-extras/ Xash/extras.pak
|
||||
|
||||
mkdir -p artifacts/
|
||||
|
||||
7z a -t7z artifacts/xash3d-fwgs-magx.7z -m0=lzma2 -mx=9 -mfb=64 -md=32m -ms=on -r Xash/
|
||||
|
@ -24,5 +24,8 @@ else
|
||||
die
|
||||
fi
|
||||
|
||||
mkdir valve/
|
||||
python3 scripts/makepak.py xash-extras/ valve/extras.pak
|
||||
|
||||
mkdir -p artifacts/
|
||||
7z a -t7z artifacts/xash3d-fwgs-win32-$ARCH.7z -m0=lzma2 -mx=9 -mfb=64 -md=32m -ms=on *.dll *.exe *.pdb
|
||||
7z a -t7z artifacts/xash3d-fwgs-win32-$ARCH.7z -m0=lzma2 -mx=9 -mfb=64 -md=32m -ms=on *.dll *.exe *.pdb valve/
|
||||
|
Loading…
Reference in New Issue
Block a user