mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Windows installer: System-wide Tox URI protocol support
Will enable support for the tox: (Tox URI) protocol in the registry, notably in major web browsers
This commit is contained in:
parent
345fbc07ea
commit
f40aa08392
|
@ -275,6 +275,13 @@ Section "Install"
|
|||
# Write setup info into the registry
|
||||
${WriteRegStr} "${REG_ROOT}" "${REG_APP_PATH}" "Install Directory" "$INSTDIR"
|
||||
${WriteRegStr} ${REG_ROOT} "${UNINSTALL_PATH}" "UninstallString" "$INSTDIR\uninstall.exe"
|
||||
|
||||
# Register the tox: protocol
|
||||
${WriteRegStr} HKCR "tox" "" "URL:tox Protocol"
|
||||
${WriteRegStr} HKCR "tox" "URL Protocol" ""
|
||||
${WriteRegStr} HKCR "tox\shell" "" ""
|
||||
${WriteRegStr} HKCR "tox\shell\open" "" ""
|
||||
${WriteRegStr} HKCR "tox\shell\open\command" "" "$INSTDIR\${MAIN_APP_EXE}"
|
||||
SectionEnd
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user