From 1f0742f703dcfc81341e5c88dad1446a8f0e884d Mon Sep 17 00:00:00 2001 From: Brian <5100126-brian6932@users.noreply.gitlab.com> Date: Sat, 5 Mar 2022 17:37:18 -0500 Subject: [PATCH] Fixed shell command launcher I was having issues launching LibreWolf in private mode from a program I built So I tried mirroring the registry entry of a standard Firefox installation, and that seems to have fixed it It seems like the paths needed quoting --- assets/setup.nsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/setup.nsi b/assets/setup.nsi index 6592eba..ab701fa 100644 --- a/assets/setup.nsi +++ b/assets/setup.nsi @@ -120,7 +120,7 @@ Section WriteRegStr HKLM "Software\Classes\LibreWolfHTM\Application" "ApplicationDescription" "Start the LibreWolf Browser" WriteRegStr HKLM "Software\Classes\LibreWolfHTM\Application" "ApplicationCompany" "LibreWolf Community" WriteRegStr HKLM "Software\Classes\LibreWolfHTM\DefaultIcon" "" "$INSTDIR\librewolf.exe,0" - WriteRegStr HKLM "Software\Classes\LibreWolfHTM\shell\open\command" "" "$INSTDIR\librewolf.exe %1" + WriteRegStr HKLM "Software\Classes\LibreWolfHTM\shell\open\command" "" "$\"$INSTDIR\librewolf.exe$\" -osint -url $\"%1$\"" SectionEnd