From 405615a2dfc40a4cdb151467c37e87cac13f333e Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 5 Apr 2016 03:18:33 +0000 Subject: [PATCH] Added darkplaces-osx-sdl launch script, this has been simplified since we don't support OSX 10.5 anymore (and thus do not have to worry about broken x86_64 binary support). git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12254 d7cf8633-e32d-0410-b094-e92efae38249 --- Darkplaces.app/Contents/MacOS/darkplaces-osx-sdl | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 Darkplaces.app/Contents/MacOS/darkplaces-osx-sdl diff --git a/Darkplaces.app/Contents/MacOS/darkplaces-osx-sdl b/Darkplaces.app/Contents/MacOS/darkplaces-osx-sdl new file mode 100755 index 00000000..fb7c6f50 --- /dev/null +++ b/Darkplaces.app/Contents/MacOS/darkplaces-osx-sdl @@ -0,0 +1,8 @@ +#!/bin/sh + +# Get dylib files from the same dir as the executable +export DYLD_LIBRARY_PATH="${0%/*}" + +set -- "$0"-bin "$@" + +exec "$@" -- 2.39.2