2013-06-27 01:36:32 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
RADIANT_HOME=$(dirname "$0")
|
|
|
|
RADIANT_HOME=${RADIANT_HOME/GtkRadiant.app*/GtkRadiant.app}
|
|
|
|
|
|
|
|
echo
|
|
|
|
echo "Starting GtkRadiant in ${RADIANT_HOME}"
|
|
|
|
echo
|
|
|
|
|
|
|
|
set -x
|
|
|
|
|
2013-06-27 04:36:58 +00:00
|
|
|
resources="${RADIANT_HOME}/Contents/Resources"
|
2013-06-27 01:36:32 +00:00
|
|
|
|
2013-06-27 04:36:58 +00:00
|
|
|
export GDK_PIXBUF_MODULE_FILE="${resources}/etc/gtk-2.0/gdk-pixbuf.loaders"
|
2013-06-27 01:36:32 +00:00
|
|
|
|
2013-06-27 04:36:58 +00:00
|
|
|
export GTK_DATA_PREFIX="${resources}"
|
|
|
|
export GTK_EXE_PREFIX="${resources}"
|
|
|
|
export GTK_PATH="${resources}"
|
2013-06-27 01:36:32 +00:00
|
|
|
|
2013-06-27 04:36:58 +00:00
|
|
|
export PANGO_SYSCONFDIR="${resources}/etc"
|
|
|
|
export PANGO_LIBDIR="${resources}/lib"
|
2013-06-27 01:36:32 +00:00
|
|
|
|
2013-06-27 04:36:58 +00:00
|
|
|
cd "${resources}/install"
|
2013-06-27 13:32:30 +00:00
|
|
|
./radiant.bin
|
2013-06-27 04:36:58 +00:00
|
|
|
|
|
|
|
set +x
|