mirror of
https://github.com/glest/glest-source.git
synced 2025-09-02 20:42:34 +02:00
Renamed ZetaGlest to Glest
This commit is contained in:
18
mk/macos/bundle_resources/Glest.sh
Normal file
18
mk/macos/bundle_resources/Glest.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
# Use this script in bundle to run game
|
||||
# ----------------------------------------------------------------------------
|
||||
# Copyright (c) 2015 under GNU GPL v3.0+
|
||||
|
||||
export LANG=C
|
||||
SCRIPTDIR="$(cd "$(dirname "$0")"; pwd)"
|
||||
if [ -d "$SCRIPTDIR/lib" ]; then
|
||||
export DYLD_LIBRARY_PATH="$SCRIPTDIR/lib"
|
||||
binary_dir_path="$SCRIPTDIR"
|
||||
else
|
||||
export DYLD_LIBRARY_PATH="$SCRIPTDIR/../Frameworks"
|
||||
binary_dir_path="$SCRIPTDIR/../Resources/glest-game"
|
||||
fi
|
||||
export PATH="$binary_dir_path:$PATH"
|
||||
|
||||
exec "$binary_dir_path/glest" "$@"
|
||||
exit "$?"
|
Reference in New Issue
Block a user