]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Added darkplaces-osx-sdl launch script, this has been simplified since
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 5 Apr 2016 03:18:33 +0000 (03:18 +0000)
committerRudolf Polzer <divVerent@xonotic.org>
Mon, 13 Jun 2016 19:13:59 +0000 (21:13 +0200)
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
::stable-branch::merge=405615a2dfc40a4cdb151467c37e87cac13f333e

Darkplaces.app/Contents/MacOS/darkplaces-osx-sdl [new file with mode: 0755]

diff --git a/Darkplaces.app/Contents/MacOS/darkplaces-osx-sdl b/Darkplaces.app/Contents/MacOS/darkplaces-osx-sdl
new file mode 100755 (executable)
index 0000000..fb7c6f5
--- /dev/null
@@ -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 "$@"