MultiMC5/package/linux/MultiMC
Andrew 7b863f97f7 Set run script to load libs from bin folder.
I'd really like to put them in a separate "lib" folder, but CMake
doesn't want to.
2013-10-01 16:47:59 -05:00

13 lines
361 B
Bash
Executable File

#!/bin/sh
# Basic start script for running MultiMC with the libs packaged with it.
MMC_DIR="$( cd "$( dirname "$0" )" && pwd )"
cd "${MMC_DIR}"
echo "MultiMC Dir: ${MMC_DIR}"
export LD_LIBRARY_PATH="${MMC_DIR}/bin":$LD_LIBRARY_PATH
export QT_PLUGIN_PATH="${MMC_DIR}/plugins"
export QT_FONTPATH="${MMC_DIR}/fonts"
exec ${MMC_DIR}/bin/MultiMC -d ${MMC_DIR} $@