aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-09-30 22:07:16 -0700
committerWladimir J. van der Laan <laanwj@gmail.com>2012-09-30 22:07:16 -0700
commit02247490f6bfe7fccc39b9e64aaf0afd6cf48561 (patch)
tree78dbfd8bf9c6f4d3f8c863e085b6f06a54d403fd
parent2a739598b14690998b20858321c244ad7e4bb9a1 (diff)
parentc8bf3151880f0bed19938a7c572b24347e689175 (diff)
downloadbitcoin-02247490f6bfe7fccc39b9e64aaf0afd6cf48561.tar.xz
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 4e48718a49..f799987ed9 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