nsis: Fix CustomUrlArguments for protocol handler

This commit is contained in:
Zack Middleton 2023-06-11 16:41:15 -05:00 committed by The Turtle Man ♣
parent 221465f3b4
commit a119e67fb8

View file

@ -136,7 +136,7 @@ SectionEnd
Section "Protocol Handler" ProtocolHandler
WriteRegStr SHCTX "Software\Classes\quake3" "CustomUrlApplication" "$INSTDIR\ioquake3.x86.exe"
WriteRegStr SHCTX "Software\Classes\quake3" "CustomUrlArguments" '"%1"'
WriteRegStr SHCTX "Software\Classes\quake3" "CustomUrlArguments" '--uri "%1"'
WriteRegStr SHCTX "Software\Classes\quake3" "URL Protocol" ""
WriteRegStr SHCTX "Software\Classes\quake3\DefaultIcon" "" "$INSTDIR\ioquake3.x86.exe,0"
WriteRegStr SHCTX "Software\Classes\quake3\shell\open\command" "" '"$INSTDIR\ioquake3.x86.exe" --uri "%1"'