From: Thomas Debesse Date: Tue, 22 Dec 2020 19:27:09 +0000 (+0100) Subject: macos: rename radiant to netradiant X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7ce1616e7dba1dd8adc6fb2d40fd3471f00e6856;p=xonotic%2Fnetradiant.git macos: rename radiant to netradiant --- diff --git a/setup/apple/NetRadiant.app/Contents/Info.plist b/setup/apple/NetRadiant.app/Contents/Info.plist index 75796b16..2b34323e 100644 --- a/setup/apple/NetRadiant.app/Contents/Info.plist +++ b/setup/apple/NetRadiant.app/Contents/Info.plist @@ -7,9 +7,9 @@ CFBundleDisplayName NetRadiant CFBundleExecutable - radiant + netradiant CFBundleIconFile - radiant.icns + netradiant.icns CFBundleIdentifier org.xonotic.netradiant CFBundleName diff --git a/setup/apple/NetRadiant.app/Contents/MacOS/netradiant b/setup/apple/NetRadiant.app/Contents/MacOS/netradiant new file mode 100755 index 00000000..701a7fec --- /dev/null +++ b/setup/apple/NetRadiant.app/Contents/MacOS/netradiant @@ -0,0 +1,35 @@ +#!/bin/bash + +RADIANT_HOME=$(dirname "$0") +RADIANT_HOME=${RADIANT_HOME/NetRadiant.app*/NetRadiant.app} + +echo +echo "Starting NetRadiant 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 & + +set +x \ No newline at end of file diff --git a/setup/apple/NetRadiant.app/Contents/MacOS/radiant b/setup/apple/NetRadiant.app/Contents/MacOS/radiant deleted file mode 100755 index 701a7fec..00000000 --- a/setup/apple/NetRadiant.app/Contents/MacOS/radiant +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -RADIANT_HOME=$(dirname "$0") -RADIANT_HOME=${RADIANT_HOME/NetRadiant.app*/NetRadiant.app} - -echo -echo "Starting NetRadiant 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 & - -set +x \ No newline at end of file diff --git a/setup/apple/NetRadiant.app/Contents/Resources/netradiant.icns b/setup/apple/NetRadiant.app/Contents/Resources/netradiant.icns new file mode 100644 index 00000000..339e718d Binary files /dev/null and b/setup/apple/NetRadiant.app/Contents/Resources/netradiant.icns differ diff --git a/setup/apple/NetRadiant.app/Contents/Resources/radiant.icns b/setup/apple/NetRadiant.app/Contents/Resources/radiant.icns deleted file mode 100644 index 339e718d..00000000 Binary files a/setup/apple/NetRadiant.app/Contents/Resources/radiant.icns and /dev/null differ