mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
appimage: fix AppRun shell-script POSIX compatibility
This commit is contained in:
@@ -20,7 +20,7 @@ cat > $APPDIR/AppRun << 'EOF'
|
||||
echo "Xash3D FWGS installed as AppImage."
|
||||
|
||||
ENGINEROOT=$(dirname -- "$(readlink -f -- "$0")")
|
||||
if [ "$XASH3D_BASEDIR" == "" ]; then
|
||||
if [ "$XASH3D_BASEDIR" = "" ]; then
|
||||
export XASH3D_BASEDIR=$PWD
|
||||
fi
|
||||
export XASH3D_EXTRAS_PAK1="${ENGINEROOT}"/extras.pak
|
||||
|
||||
Reference in New Issue
Block a user