mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-10 20:10:56 +00:00
35 lines
No EOL
788 B
Bash
Executable file
35 lines
No EOL
788 B
Bash
Executable file
#!/bin/bash
|
|
|
|
RADIANT_HOME=$(dirname "$0")
|
|
RADIANT_HOME=${RADIANT_HOME/GtkRadiant.app*/GtkRadiant.app}
|
|
|
|
echo
|
|
echo "Starting GtkRadiant in ${RADIANT_HOME}"
|
|
echo
|
|
|
|
set -x
|
|
|
|
resources="${RADIANT_HOME}/Contents/Resources"
|
|
|
|
export FONTCONFIG_PATH="${resources}/etc/fonts"
|
|
export FC_DEBUG=1024
|
|
|
|
export GDK_GL_LIBGL_PATH="${resources}/lib/libGL.1.dylib"
|
|
export GDK_GL_LIBGLU_PATH="${resources}/lib/libGLU.1.dylib"
|
|
|
|
export GDK_PATH="${resources}"
|
|
export GDK_PIXBUF_MODULE_FILE="${resources}/etc/gtk-2.0/gdk-pixbuf.loaders"
|
|
|
|
export GOBJECT_PATH="${resources}"
|
|
|
|
export GTK_DATA_PREFIX="${resources}"
|
|
export GTK_EXE_PREFIX="${resources}"
|
|
export GTK_PATH="${resources}"
|
|
|
|
export PANGO_SYSCONFDIR="${resources}/etc"
|
|
export PANGO_LIBDIR="${resources}/lib"
|
|
|
|
cd "${resources}/install"
|
|
./radiant.bin &
|
|
|
|
set +x |