2013-11-24 06:36:16 +01:00
|
|
|
#!/bin/bash
|
2013-02-12 10:14:23 -06:00
|
|
|
# Basic start script for running MultiMC with the libs packaged with it.
|
|
|
|
|
2013-11-24 06:36:16 +01:00
|
|
|
MMC_DIR=`dirname "$0"`
|
2013-02-12 10:14:23 -06:00
|
|
|
cd "${MMC_DIR}"
|
2013-10-01 16:30:30 -05:00
|
|
|
echo "MultiMC Dir: ${MMC_DIR}"
|
2013-02-12 10:14:23 -06:00
|
|
|
|
2013-11-24 06:36:16 +01:00
|
|
|
# Set up env
|
2013-10-01 16:47:59 -05:00
|
|
|
export LD_LIBRARY_PATH="${MMC_DIR}/bin":$LD_LIBRARY_PATH
|
2013-10-01 16:13:21 -05:00
|
|
|
export QT_PLUGIN_PATH="${MMC_DIR}/plugins"
|
|
|
|
export QT_FONTPATH="${MMC_DIR}/fonts"
|
2013-11-24 06:36:16 +01:00
|
|
|
|
|
|
|
# Just to be sure...
|
|
|
|
chmod +x "${MMC_DIR}/bin/MultiMC"
|
|
|
|
|
|
|
|
# run MultiMC
|
|
|
|
"${MMC_DIR}/bin/MultiMC" -d "${MMC_DIR}" $@
|
2013-10-01 16:13:21 -05:00
|
|
|
|