Set run script to load libs from bin folder.
I'd really like to put them in a separate "lib" folder, but CMake doesn't want to.
This commit is contained in:
parent
349553349c
commit
7b863f97f7
@ -5,7 +5,7 @@ MMC_DIR="$( cd "$( dirname "$0" )" && pwd )"
|
|||||||
cd "${MMC_DIR}"
|
cd "${MMC_DIR}"
|
||||||
echo "MultiMC Dir: ${MMC_DIR}"
|
echo "MultiMC Dir: ${MMC_DIR}"
|
||||||
|
|
||||||
export LD_LIBRARY_PATH="${MMC_DIR}/lib":$LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH="${MMC_DIR}/bin":$LD_LIBRARY_PATH
|
||||||
export QT_PLUGIN_PATH="${MMC_DIR}/plugins"
|
export QT_PLUGIN_PATH="${MMC_DIR}/plugins"
|
||||||
export QT_FONTPATH="${MMC_DIR}/fonts"
|
export QT_FONTPATH="${MMC_DIR}/fonts"
|
||||||
exec ${MMC_DIR}/bin/MultiMC -d ${MMC_DIR} $@
|
exec ${MMC_DIR}/bin/MultiMC -d ${MMC_DIR} $@
|
||||||
|
Loading…
Reference in New Issue
Block a user