summaryrefslogtreecommitdiffstats
path: root/package/linux/MultiMC
blob: d9f9dd5dcb1119fdeefb0f811f3a3532c315ede8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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}/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} $@