From 61c5ef4c3070b456643397d13e56050d67a31a34 Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Thu, 26 Aug 2021 19:47:44 +0200 Subject: [PATCH] Fixing other bugs with windows. --- win/installer.nsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/win/installer.nsi b/win/installer.nsi index 67c4f91..4a01cde 100644 --- a/win/installer.nsi +++ b/win/installer.nsi @@ -12,7 +12,7 @@ Unicode True !define DEV_NAME "Ad5001" !define WEBSITE "https://apps.ad5001.eu/LogarithmPlotter" !define APP_VERSION "0.1.0.0" -!define COPYRIGHT "Ad5001 © 2021" +!define COPYRIGHT "Ad5001 (c) 2021" !define DESCRIPTION "Create graphs with logarithm scales." !define REG_UNINSTALL "Software\Microsoft\Windows\CurrentVersion\Uninstall\LogarithmPlotter" @@ -184,8 +184,8 @@ Section "" ; Registering mime type WriteRegStr HKLM ${REG_LPFCLASS} "" "Logarithm Plot File" WriteRegStr HKLM "${REG_LPFCLASS}\DefaultIcon" "" "$INSTDIR\logarithmplotter.exe,0" ; I'd like to put the logplotterfile icon, but this seems far too difficult to do. - WriteRegStr HKLM "${REG_LPFCLASS}\shell\open\command" "" "$INSTDIR\logarithmplotter.exe $\"$%1$\"" - WriteRegStr HKLM "${REG_LPFCLASS}\shell\edit\command" "" "$INSTDIR\logarithmplotter.exe $\"$%1$\"" + WriteRegStr HKLM "${REG_LPFCLASS}\shell\open\command" "" "$INSTDIR\logarithmplotter.exe $\"%1$\"" + WriteRegStr HKLM "${REG_LPFCLASS}\shell\edit\command" "" "$INSTDIR\logarithmplotter.exe $\"%1$\"" WriteRegStr HKLM ${REG_LPFEXT} "" "${PROG_ID}" WriteRegStr HKLM ${REG_LPFEXT} "Content Type" "application/x-logarithm-plot" WriteRegStr HKLM ${REG_LPFEXT} "PerceivedType" "Application"