1
0
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:
Tux3 / Mlkj / !Lev.uXFMLA 2014-11-07 22:57:58 +01:00
parent 345fbc07ea
commit f40aa08392
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -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