UI: Updated Windows File Registration
Windows file associations using ProgID, needed because of the launcher. This fixes "pin to taskbar" and Recent Documents lists, allow per- version jump lists and an "Open with" list with multiple versions. Pull Request: https://projects.blender.org/blender/blender/pulls/107013
This commit is contained in:
committed by
Harley Acheson
parent
d168df7c23
commit
9cf77efaa0
@@ -159,6 +159,15 @@ endif()
|
||||
|
||||
get_blender_version()
|
||||
|
||||
if(WIN32)
|
||||
add_definitions(
|
||||
# This is the app ID used for file registration, given it's used from several modules
|
||||
# there really is no nice way to get this information consistent without a global define.
|
||||
-DBLENDER_WIN_APPID="blender.${BLENDER_VERSION_MAJOR}.${BLENDER_VERSION_MINOR}"
|
||||
# This is the name that will be shown in the taskbar and OpenWith windows UI
|
||||
-DBLENDER_WIN_APPID_FRIENDLY_NAME="Blender ${BLENDER_VERSION_MAJOR}.${BLENDER_VERSION_MINOR}"
|
||||
)
|
||||
endif()
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Declare Options
|
||||
|
||||
Reference in New Issue
Block a user