From db2d81042b77eb7586048e5c739895f679501759 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Tue, 21 Jan 2025 06:20:37 +0100 Subject: [PATCH] Use the common URL:$protocol naming scheme --- pkg/windows/gpxsee64.nsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/windows/gpxsee64.nsi b/pkg/windows/gpxsee64.nsi index 99591ef5..38b9e872 100644 --- a/pkg/windows/gpxsee64.nsi +++ b/pkg/windows/gpxsee64.nsi @@ -19,8 +19,8 @@ !macroend ; URI association -!macro URI_ASSOCIATION_ADD PROTO DESC - WriteRegStr HKCR "${PROTO}" "" "${DESC}" +!macro URI_ASSOCIATION_ADD PROTO + WriteRegStr HKCR "${PROTO}" "" "URL:${PROTO}" WriteRegStr HKCR "${PROTO}" "URL Protocol" "" WriteRegStr HKCR "${PROTO}\DefaultIcon" "" "$INSTDIR\GPXSee.exe,0" WriteRegStr HKCR "${PROTO}\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\"" @@ -212,7 +212,7 @@ Section "GPXSee" SEC_APP !insertmacro FILE_ASSOCIATION_ADD "plt" "OziExplorer Track File" 33 !insertmacro FILE_ASSOCIATION_ADD "rte" "OziExplorer Route File" 34 - !insertmacro URI_ASSOCIATION_ADD "geo" "geo URI" + !insertmacro URI_ASSOCIATION_ADD "geo" WriteRegStr HKCR "Applications\GPXSee.exe\shell\open\command" "" "$\"$INSTDIR\GPXSee.exe$\" $\"%1$\"" WriteRegStr HKCR ".gpx\OpenWithList" "GPXSee.exe" ""