Skip to content
Snippets Groups Projects
Commit 88ff813d authored by Daniel Amm's avatar Daniel Amm Committed by Jean-Baptiste Kempf
Browse files

NSIS: Add icon to extension context menu (fixes #18648)


Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 65ec7ad4
No related branches found
No related tags found
No related merge requests found
......@@ -263,10 +263,12 @@ FunctionEnd
; Generic function for adding the context menu for one ext.
!macro AddContextMenuExt EXT
WriteRegStr HKCR ${EXT}\shell\PlayWithVLC "" $ContextMenuEntry_PlayWith
WriteRegStr HKCR ${EXT}\shell\PlayWithVLC "Icon" '"$INSTDIR\vlc.exe",0'
WriteRegStr HKCR ${EXT}\shell\PlayWithVLC "MultiSelectModel" "Player"
WriteRegStr HKCR ${EXT}\shell\PlayWithVLC\command "" '"$INSTDIR\vlc.exe" --started-from-file --no-playlist-enqueue "%1"'
WriteRegStr HKCR ${EXT}\shell\AddToPlaylistVLC "" $ContextMenuEntry_AddToPlaylist
WriteRegStr HKCR ${EXT}\shell\AddToPlaylistVLC "Icon" '"$INSTDIR\vlc.exe",0'
WriteRegStr HKCR ${EXT}\shell\AddToPlaylistVLC "MultiSelectModel" "Player"
WriteRegStr HKCR ${EXT}\shell\AddToPlaylistVLC\command "" '"$INSTDIR\vlc.exe" --started-from-file --playlist-enqueue "%1"'
!macroend
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment