From 0631da6c8e48ca26448614e64df2d1592b9a8b7f Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sun, 4 Oct 2020 01:59:40 +0200 Subject: [PATCH] Register Tidal URL Scheme in Windows installer --- dist/windows/strawberry.nsi.in | 6 ++++++ 1 file changed, 6 insertions(+) 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"