Made run script instal as executable.
Also fixed a small bug with the run script.
This commit is contained in:
parent
02a7d147ef
commit
1ed822d6e8
@ -433,7 +433,7 @@ INSTALL(TARGETS MultiMC
|
|||||||
BUNDLE DESTINATION . COMPONENT Runtime
|
BUNDLE DESTINATION . COMPONENT Runtime
|
||||||
RUNTIME DESTINATION bin COMPONENT Runtime
|
RUNTIME DESTINATION bin COMPONENT Runtime
|
||||||
)
|
)
|
||||||
INSTALL(FILES package/linux/MultiMC DESTINATION .)
|
INSTALL(PROGRAMS package/linux/MultiMC DESTINATION .)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Basic start script for running MultiMC with the libs packaged with it.
|
# Basic start script for running MultiMC with the libs packaged with it.
|
||||||
|
|
||||||
MMC_DIR=$(dirname "$0")
|
MMC_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
cd "${MMC_DIR}"
|
cd "${MMC_DIR}"
|
||||||
|
echo "MultiMC Dir: ${MMC_DIR}"
|
||||||
|
|
||||||
export LD_LIBRARY_PATH="${MMC_DIR}/lib":$LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH="${MMC_DIR}/lib":$LD_LIBRARY_PATH
|
||||||
export QT_PLUGIN_PATH="${MMC_DIR}/plugins"
|
export QT_PLUGIN_PATH="${MMC_DIR}/plugins"
|
||||||
|
Loading…
Reference in New Issue
Block a user