From 682068ad3aa32692b95b4d44f7657c346480d1c9 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Fri, 2 Apr 2021 13:35:16 +0200 Subject: [PATCH] Improve the welcome page of NSIS installers. --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5731948..7e12438 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -144,7 +144,8 @@ elseif(MINGW OR MSVC) set(CPACK_PACKAGE_FILE_NAME "${PNAME}_wpkg") set(CPACK_NSIS_COMPRESSOR "/SOLID lzma") set(CPACK_NSIS_MANIFEST_DPI_AWARE true) - set(CPACK_NSIS_PACKAGE_NAME "${PROJECT_NAME} ${CODENAME}") + set(CPACK_NSIS_PACKAGE_NAME "${PROJECT_NAME} ${CODENAME}-${PROJECT_VERSION}") + set(CPACK_NSIS_WELCOME_TITLE_3LINES ON) set(CPACK_NSIS_URL_INFO_ABOUT "https://gits.username404.fr/Username404-59/Yerbacon") set(CPACK_NSIS_MUI_ICON "${CMAKE_CURRENT_SOURCE_DIR}/resources/${PROJECT_NAME}.ico") set(CPACK_NSIS_MUI_UNIICON "${CMAKE_CURRENT_SOURCE_DIR}/resources/${PROJECT_NAME}.ico")