summaryrefslogtreecommitdiffstats
path: root/package/linux/MultiMC
blob: c8c1b55a64526e327221d2d37c60fd3318957a03 (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 "${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} $@