aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-08-16 09:28:58 +0100
committerfanquake <fanquake@gmail.com>2022-08-16 11:32:46 +0100
commit495caa9a0149a87c4148fbae1b622c998c019d40 (patch)
treefa120a4dc3f08f8ae0444f9115f7a47d865a8f67
parent0eac1f7ba49eacf7a87fcb25dff762c4d28a2509 (diff)
build: add example bitcoin conf to win installer
Addresses https://github.com/bitcoin/bitcoin/pull/22235#discussion_r946359661.
-rw-r--r--share/setup.nsi.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/setup.nsi.in b/share/setup.nsi.in
index 7fa2f39c3c..2ce798bd2d 100644
--- a/share/setup.nsi.in
+++ b/share/setup.nsi.in
@@ -75,6 +75,7 @@ Section -Main SEC0000
File @abs_top_builddir@/release/@BITCOIN_GUI_NAME@@EXEEXT@
File /oname=COPYING.txt @abs_top_srcdir@/COPYING
File /oname=readme.txt @abs_top_srcdir@/doc/README_windows.txt
+ File @abs_top_srcdir@/share/examples/bitcoin.conf
SetOutPath $INSTDIR\share\rpcauth
File @abs_top_srcdir@/share/rpcauth/*.*
SetOutPath $INSTDIR\daemon
@@ -129,6 +130,7 @@ Section /o -un.Main UNSEC0000
Delete /REBOOTOK $INSTDIR\@BITCOIN_GUI_NAME@@EXEEXT@
Delete /REBOOTOK $INSTDIR\COPYING.txt
Delete /REBOOTOK $INSTDIR\readme.txt
+ Delete /REBOOTOK $INSTDIR\bitcoin.conf
RMDir /r /REBOOTOK $INSTDIR\share
RMDir /r /REBOOTOK $INSTDIR\daemon
DeleteRegValue HKCU "${REGKEY}\Components" Main