mirror of
https://github.com/minetest/minetest.git
synced 2024-12-02 12:33:45 +01:00
Make installer create its own Minetest folder (#10445)
This changes the installer to create its own Minetest folder instead of having the user create it themselves. This prevents spewing the contents of Minetest everywhere when users change the install directory and expect the installer to create a folder to put it in
This commit is contained in:
parent
6f8a1c99d5
commit
d5a481b4e6
@ -278,11 +278,12 @@ if(WIN32)
|
|||||||
set(CPACK_GENERATOR ZIP)
|
set(CPACK_GENERATOR ZIP)
|
||||||
|
|
||||||
else()
|
else()
|
||||||
set(CPACK_GENERATOR WIX ZIP)
|
set(CPACK_GENERATOR WIX)
|
||||||
set(CPACK_PACKAGE_NAME "${PROJECT_NAME_CAPITALIZED}")
|
set(CPACK_PACKAGE_NAME "${PROJECT_NAME_CAPITALIZED}")
|
||||||
set(CPACK_PACKAGE_INSTALL_DIRECTORY "${PROJECT_NAME_CAPITALIZED}")
|
set(CPACK_PACKAGE_INSTALL_DIRECTORY ".")
|
||||||
set(CPACK_PACKAGE_EXECUTABLES ${PROJECT_NAME} "${PROJECT_NAME_CAPITALIZED}")
|
set(CPACK_PACKAGE_EXECUTABLES ${PROJECT_NAME} "${PROJECT_NAME_CAPITALIZED}")
|
||||||
set(CPACK_CREATE_DESKTOP_LINKS ${PROJECT_NAME})
|
set(CPACK_CREATE_DESKTOP_LINKS ${PROJECT_NAME})
|
||||||
|
set(CPACK_PACKAGING_INSTALL_PREFIX "/${PROJECT_NAME_CAPITALIZED}")
|
||||||
|
|
||||||
set(CPACK_WIX_PRODUCT_ICON "${CMAKE_CURRENT_SOURCE_DIR}/misc/minetest-icon.ico")
|
set(CPACK_WIX_PRODUCT_ICON "${CMAKE_CURRENT_SOURCE_DIR}/misc/minetest-icon.ico")
|
||||||
# Supported languages can be found at
|
# Supported languages can be found at
|
||||||
|
Loading…
Reference in New Issue
Block a user