MultiMC5/package/linux/MultiMC
Andrew 1ed822d6e8 Made run script instal as executable.
Also fixed a small bug with the run script.
2013-10-01 16:30:30 -05:00

13 lines
376 B
Bash
Executable File

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