pollymc/package/linux/MultiMC
Andrew 02a7d147ef Add run script to install.
Also renamed "translations_target" to "translations". The old name was
dumb and annoying.
2013-10-01 16:13:21 -05:00

12 lines
309 B
Bash
Executable File

#!/bin/sh
# Basic start script for running MultiMC with the libs packaged with it.
MMC_DIR=$(dirname "$0")
cd "${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} $@