aboutsummaryrefslogtreecommitdiff
path: root/share/setup.nsi
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2012-09-29 12:25:22 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2012-09-29 12:25:22 +0200
commitc8bf3151880f0bed19938a7c572b24347e689175 (patch)
tree763bcfe222f8c07439d93a4c9ae7cebb07a562de /share/setup.nsi
parent018ec85ff7ab422846f1d8b0bfb27a8d6c70eada (diff)
Windows: fix URI association setting in registry
- fix for #1877 - fix was reported to work via https://bitcointalk.org/index.php?topic=110243.msg1230418#msg1230418
Diffstat (limited to 'share/setup.nsi')
-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