mirror of
https://github.com/love2d/love.git
synced 2026-08-18 03:34:23 +02:00
Turn off CPACK_NSIS_MODIFY_PATH.
Turning this on inserts a page in the installer which gives the user the option of adding LÖVE to PATH, except it doesn't really work, even if the user opts that it should happen. In that case, it's better to not give the user a choice at all, and disable the whole thing.
This commit is contained in:
+1
-1
@@ -1160,7 +1160,7 @@ set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/license.txt")
|
||||
set(CPACK_NSIS_EXECUTABLES_DIRECTORY .)
|
||||
set(CPACK_NSIS_PACKAGE_NAME "LÖVE")
|
||||
set(CPACK_NSIS_DISPLAY_NAME "LÖVE ${LOVE_VERSION_STR}")
|
||||
set(CPACK_NSIS_MODIFY_PATH ON)
|
||||
set(CPACK_NSIS_MODIFY_PATH OFF)
|
||||
|
||||
if(LOVE_X64)
|
||||
set(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES64")
|
||||
|
||||
Reference in New Issue
Block a user