浏览代码

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 12 年之前
父节点
当前提交
d6d2d79701
共有 1 个文件被更改,包括 1 次插入1 次删除
  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_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")