mirror of
https://github.com/overte-org/overte.git
synced 2025-04-13 13:12:11 +02:00
add URL handler registration for Interface
This commit is contained in:
parent
b8966de85e
commit
7739749220
1 changed files with 7 additions and 1 deletions
|
@ -704,10 +704,16 @@ Section "-Core installation"
|
|||
@CPACK_NSIS_CREATE_ICONS@
|
||||
@CPACK_NSIS_CREATE_ICONS_EXTRA@
|
||||
|
||||
; Conditional handling for interface shortcut
|
||||
; Conditional handling for Interface specific options
|
||||
${If} ${SectionIsSelected} ${client}
|
||||
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\${INTERFACE_SHORTCUT_NAME}.lnk" \
|
||||
"$INSTDIR\${INTERFACE_EXEC_NAME}"
|
||||
|
||||
; hifi:// protocol handler registry entries
|
||||
WriteRegStr HKCR 'hifi' '' 'URL:Alert Protocol'
|
||||
WriteRegStr HKCR 'hifi' 'URL Protocol' ''
|
||||
WriteRegStr HKCR 'hifi\DefaultIcon' '' '$INSTDIR\${INTERFACE_EXEC_NAME},1'
|
||||
WriteRegStr HKCR 'hifi\shell\open\command' '' '$INSTDIR\${INTERFACE_EXEC_NAME} --url "%1"'
|
||||
${EndIf}
|
||||
|
||||
; Conditional handling for server console shortcut
|
||||
|
|
Loading…
Reference in a new issue