Browse Source

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.
rude 11 years ago
parent
commit
d6d2d79701
1 changed files with 1 additions and 1 deletions
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -1160,7 +1160,7 @@ set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/license.txt")
 set(CPACK_NSIS_EXECUTABLES_DIRECTORY .)
 set(CPACK_NSIS_EXECUTABLES_DIRECTORY .)
 set(CPACK_NSIS_PACKAGE_NAME "LÖVE")
 set(CPACK_NSIS_PACKAGE_NAME "LÖVE")
 set(CPACK_NSIS_DISPLAY_NAME "LÖVE ${LOVE_VERSION_STR}")
 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)
 if(LOVE_X64)
 	set(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES64")
 	set(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES64")