Change method of shell script fix per suggestion

The Launcher.in file is now modified rather than CMakeLists.txt
This commit is contained in:
Thomas Sirack 2022-01-14 19:28:10 -07:00
parent ac93c64cd4
commit 0bbd0ac0b9
2 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ endif()
####################################### 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)
####################################### Install layout #######################################

View File

@ -14,7 +14,7 @@ if [[ $EUID -eq 0 ]]; then
fi
LAUNCHER_NAME=@Launcher_Name@
LAUNCHER_NAME=@Launcher_APP_BINARY_NAME@
LAUNCHER_DIR="$(dirname "$(readlink -f "$0")")"
echo "Launcher Dir: ${LAUNCHER_DIR}"