aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2012-09-30 22:07:16 -0700
committerWladimir J. van der Laan <[email protected]>2012-09-30 22:07:16 -0700
commit02247490f6bfe7fccc39b9e64aaf0afd6cf48561 (patch)
tree78dbfd8bf9c6f4d3f8c863e085b6f06a54d403fd
parentMerge pull request #1891 from Diapolo/printf_format_defs (diff)
parentWindows: fix URI association setting in registry (diff)
downloaddiscoin-02247490f6bfe7fccc39b9e64aaf0afd6cf48561.tar.xz
discoin-02247490f6bfe7fccc39b9e64aaf0afd6cf48561.zip
Merge pull request #1886 from Diapolo/fix_Win_URI_assoc
Windows: fix URI association setting in registry
-rw-r--r--share/setup.nsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/setup.nsi b/share/setup.nsi
index 4e48718a4..f799987ed 100644
--- a/share/setup.nsi
+++ b/share/setup.nsi
@@ -101,7 +101,7 @@ Section -post SEC0001
WriteRegStr HKCR "bitcoin" "URL Protocol" ""
WriteRegStr HKCR "bitcoin" "" "URL:Bitcoin"
WriteRegStr HKCR "bitcoin\DefaultIcon" "" $INSTDIR\bitcoin-qt.exe
- WriteRegStr HKCR "bitcoin\shell\open\command" "" '"$INSTDIR\bitcoin-qt.exe" "$$1"'
+ WriteRegStr HKCR "bitcoin\shell\open\command" "" '"$INSTDIR\bitcoin-qt.exe" "%1"'
SectionEnd
# Macro for selecting uninstaller sections