forked from bartvdbraak/blender
Fix T98726: Include blender version number in windows shortcuts
You can install several versions of blender side by side and all of them will try to create a "Blender" shortcut, which if already exists the msi installer throws a warning about. This change adds the blender version number to the desktop and start menu shortcuts, side steps the problem and it's easier to tell the various blender versions apart.
This commit is contained in:
parent
03b7982301
commit
24bd2d0bea
@ -106,8 +106,8 @@ if(WIN32)
|
||||
set(CPACK_WIX_LIGHT_EXTRA_FLAGS -dcl:medium)
|
||||
endif()
|
||||
|
||||
set(CPACK_PACKAGE_EXECUTABLES "blender-launcher" "Blender")
|
||||
set(CPACK_CREATE_DESKTOP_LINKS "blender-launcher" "Blender")
|
||||
set(CPACK_PACKAGE_EXECUTABLES "blender-launcher" "Blender ${MAJOR_VERSION}.${MINOR_VERSION}")
|
||||
set(CPACK_CREATE_DESKTOP_LINKS "blender-launcher" "Blender ${MAJOR_VERSION}.${MINOR_VERSION}")
|
||||
|
||||
include(CPack)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user