diff options
author | Sky <git@bunnies.cc> | 2013-10-21 18:24:29 +0100 |
---|---|---|
committer | Sky <git@bunnies.cc> | 2013-10-21 18:24:29 +0100 |
commit | aaf6fe894406ab8aa814de83692504493060e303 (patch) | |
tree | a7ac3a60534322f70cbdc34111228885e0606691 /package/linux/MultiMC | |
parent | 6892c11e9f287dcfb1e698f8f46233a01fb7abb6 (diff) | |
parent | 11813a0621dd7b500c2d7966a2671c0ab93be692 (diff) | |
download | PrismLauncher-aaf6fe894406ab8aa814de83692504493060e303.tar.gz PrismLauncher-aaf6fe894406ab8aa814de83692504493060e303.tar.bz2 PrismLauncher-aaf6fe894406ab8aa814de83692504493060e303.zip |
Merge branch 'develop'
Diffstat (limited to 'package/linux/MultiMC')
-rwxr-xr-x | package/linux/MultiMC | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/package/linux/MultiMC b/package/linux/MultiMC index 235d17c5..6e77a632 100755 --- a/package/linux/MultiMC +++ b/package/linux/MultiMC @@ -1,9 +1,12 @@ #!/bin/sh # Basic start script for running MultiMC with the libs packaged with it. -MMC_DIR=$(dirname "$0") +MMC_DIR="$( cd "$( dirname "$0" )" && pwd )" cd "${MMC_DIR}" +echo "MultiMC Dir: ${MMC_DIR}" + +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} $@ -export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"./lib" -export QT_PLUGIN_PATH=$QT_PLUGIN_PATH:"." -exec ./bin/MultiMC |