OSX: make the app bundle run without fink installed, by copying all required librarie...
[xonotic/netradiant.git] / setup / data / osx / NetRadiant.app / Contents / MacOS / netradiant.sh
index cb07b08d15cdb499496d9bf0d84b376101ae6229..20e1a67f2487254e92ae34cc07b01097ec3a3cd9 100755 (executable)
@@ -4,7 +4,9 @@ MY_DIRECTORY="${0%/*}" # cut off the script name
 MY_DIRECTORY="${MY_DIRECTORY%/*}" # cut off MacOS
 MY_DIRECTORY="${MY_DIRECTORY%/*}" # cut off Contents
 
-#export DYLD_LIBRARY_PATH="$MY_DIRECTORY/Contents/MacOS"
+export DYLD_LIBRARY_PATH="$MY_DIRECTORY/Contents/MacOS/install"
+export PANGO_RC_FILE="$MY_DIRECTORY/Contents/MacOS/pangorc"
+export GDK_PIXBUF_MODULE_FILE="$MY_DIRECTORY/Contents/MacOS/gdk-pixbuf.loaders"
 
 cd "$MY_DIRECTORY/Contents/MacOS/install"