diff --git a/dist/windows/strawberry.nsi.in b/dist/windows/strawberry.nsi.in index a5a539bcb..59cc7667a 100644 --- a/dist/windows/strawberry.nsi.in +++ b/dist/windows/strawberry.nsi.in @@ -402,6 +402,12 @@ Section "Start menu items" startmenu SectionEnd +Section "Tidal URL Scheme" + WriteRegStr HKCR "tidal" "URL Protocol" "" + WriteRegStr HKCR "tidal" "" "URL:tidal" + WriteRegStr HKCR 'tidal\shell\open\command' '' '"${PRODUCT_INSTALL_DIR}\strawberry.exe" "%1"' +SectionEnd + Section "Uninstaller" ; Create uninstaller WriteUninstaller "$INSTDIR\Uninstall.exe"