mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
ci: rework Linux build scripts, allow crosscompiling with whatever is included in Ubuntu 20.04 (which is used on GitHub Actions now) repositories
This commit is contained in:
10
scripts/gha/linux/AppRun
Normal file
10
scripts/gha/linux/AppRun
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$XASH3D_BASEDIR" = "" ]; then
|
||||
export XASH3D_BASEDIR="$PWD"
|
||||
fi
|
||||
echo "Xash3D FWGS installed as AppImage."
|
||||
echo "Base directory is $XASH3D_BASEDIR. Set XASH3D_BASEDIR environment variable to override this."
|
||||
|
||||
export XASH3D_EXTRAS_PAK1="${APPDIR}/valve/extras.pk3"
|
||||
exec $DEBUGGER "${APPDIR}/xash3d" "$@"
|
||||
11
scripts/gha/linux/xash3d-fwgs.desktop
Normal file
11
scripts/gha/linux/xash3d-fwgs.desktop
Normal file
@@ -0,0 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Categories=Game;Shooter;
|
||||
Comment=Half-Life compatible game engine
|
||||
Exec=AppRun
|
||||
Icon=xash3d-fwgs
|
||||
Keywords=first;person;shooter;multiplayer;half-life;halflife;singleplayer;
|
||||
Name=Xash3D FWGS
|
||||
# Doesn't pass validation with old desktop-file-utils
|
||||
#PrefersNonDefaultGPU=true
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Reference in New Issue
Block a user