From cd58d36f5bb0d088ccf593f2ae17e31e57c3f615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Micha=C3=ABl=20Celerier?= Date: Tue, 16 Jul 2019 22:06:44 +0200 Subject: [PATCH] travis --- CMake/IScoreDeploymentWindows.cmake | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CMake/IScoreDeploymentWindows.cmake b/CMake/IScoreDeploymentWindows.cmake index 122e41e..79a3d9e 100644 --- a/CMake/IScoreDeploymentWindows.cmake +++ b/CMake/IScoreDeploymentWindows.cmake @@ -56,7 +56,7 @@ install(FILES install( FILES "${SCORE_ROOT_SOURCE_DIR}/CMake/Deployment/Windows/qt.conf" - "${SCORE_ROOT_SOURCE_DIR}/base/lib/resources/score.ico" + "${SCORE_ROOT_SOURCE_DIR}/base/lib/resources/segment.ico" DESTINATION ${SCORE_BIN_INSTALL_DIR}) @@ -91,13 +91,13 @@ install(FILES "${QT_PLUGINS_DIR}/sqldrivers/qsqlite${DEBUG_CHAR}.dll" DESTINATIO # NSIS metadata set(CPACK_GENERATOR "ZIP") -set(CPACK_PACKAGE_EXECUTABLES "segment-editor.exe;score ") +set(CPACK_PACKAGE_EXECUTABLES "segment-editor.exe;segment ") -set(CPACK_COMPONENTS_ALL score) +set(CPACK_COMPONENTS_ALL segment) set(CPACK_MONOLITHIC_INSTALL TRUE) set(CPACK_NSIS_PACKAGE_NAME "SEGMent Editor") -set(CPACK_PACKAGE_ICON "${SCORE_ROOT_SOURCE_DIR}\\\\base\\\\lib\\\\resources\\\\score.ico") +set(CPACK_PACKAGE_ICON "${SCORE_ROOT_SOURCE_DIR}\\\\base\\\\lib\\\\resources\\\\segment.ico") set(CPACK_NSIS_MUI_ICON "${CPACK_PACKAGE_ICON}") set(CPACK_NSIS_MUI_UNIICON "${CPACK_PACKAGE_ICON}") @@ -117,14 +117,14 @@ set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS " \\\${registerExtension} '\\\$INSTDIR\\\\segment-editor.exe' '.segment' 'SEGMent Game' SetOutPath '\\\$INSTDIR' -CreateShortcut '\\\$DESKTOP\\\\segment.lnk' '\\\$INSTDIR\\\\segment-editor.exe' '' '\\\$INSTDIR\\\\score.ico' +CreateShortcut '\\\$DESKTOP\\\\segment.lnk' '\\\$INSTDIR\\\\segment-editor.exe' '' '\\\$INSTDIR\\\\segment.ico' SetRegView 64 WriteRegStr HKEY_LOCAL_MACHINE 'SOFTWARE\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\App Paths\\\\segment-editor.exe' '' '$INSTDIR\\\\segment-editor.exe' AccessControl::GrantOnFile '\\\$INSTDIR' '(S-1-5-32-545)' 'FullAccess' ") set(CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS " -Delete '$DESKTOP\\\\score.lnk' +Delete '$DESKTOP\\\\segment.lnk' DeleteRegKey HKLM 'Software\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\App Paths\\\\segment-editor.exe' \\\${unregisterExtension} '.segment' 'SEGMent Game' ")