pollymc/package/linux/MultiMC

13 lines
361 B
Plaintext
Raw Normal View History

2013-02-12 21:44:23 +05:30
#!/bin/sh
# Basic start script for running MultiMC with the libs packaged with it.
MMC_DIR="$( cd "$( dirname "$0" )" && pwd )"
2013-02-12 21:44:23 +05:30
cd "${MMC_DIR}"
echo "MultiMC Dir: ${MMC_DIR}"
2013-02-12 21:44:23 +05:30
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} $@