Change method of shell script fix per suggestion
The Launcher.in file is now modified rather than CMakeLists.txt
This commit is contained in:
parent
ac93c64cd4
commit
0bbd0ac0b9
@ -124,7 +124,7 @@ endif()
|
|||||||
|
|
||||||
####################################### Program Info #######################################
|
####################################### Program Info #######################################
|
||||||
|
|
||||||
set(Launcher_APP_BINARY_NAME "PolyMC" CACHE STRING "Name of the Launcher binary")
|
set(Launcher_APP_BINARY_NAME "polymc" CACHE STRING "Name of the Launcher binary")
|
||||||
add_subdirectory(program_info)
|
add_subdirectory(program_info)
|
||||||
|
|
||||||
####################################### Install layout #######################################
|
####################################### Install layout #######################################
|
||||||
|
@ -14,7 +14,7 @@ if [[ $EUID -eq 0 ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
LAUNCHER_NAME=@Launcher_Name@
|
LAUNCHER_NAME=@Launcher_APP_BINARY_NAME@
|
||||||
LAUNCHER_DIR="$(dirname "$(readlink -f "$0")")"
|
LAUNCHER_DIR="$(dirname "$(readlink -f "$0")")"
|
||||||
echo "Launcher Dir: ${LAUNCHER_DIR}"
|
echo "Launcher Dir: ${LAUNCHER_DIR}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user