Skip to content

Commit 495caa9

Browse files
committed
build: add example bitcoin conf to win installer
Addresses bitcoin/bitcoin#22235 (comment).
1 parent 0eac1f7 commit 495caa9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

share/setup.nsi.in

+2
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ Section -Main SEC0000
7575
File @abs_top_builddir@/release/@BITCOIN_GUI_NAME@@EXEEXT@
7676
File /oname=COPYING.txt @abs_top_srcdir@/COPYING
7777
File /oname=readme.txt @abs_top_srcdir@/doc/README_windows.txt
78+
File @abs_top_srcdir@/share/examples/bitcoin.conf
7879
SetOutPath $INSTDIR\share\rpcauth
7980
File @abs_top_srcdir@/share/rpcauth/*.*
8081
SetOutPath $INSTDIR\daemon
@@ -129,6 +130,7 @@ Section /o -un.Main UNSEC0000
129130
Delete /REBOOTOK $INSTDIR\@BITCOIN_GUI_NAME@@EXEEXT@
130131
Delete /REBOOTOK $INSTDIR\COPYING.txt
131132
Delete /REBOOTOK $INSTDIR\readme.txt
133+
Delete /REBOOTOK $INSTDIR\bitcoin.conf
132134
RMDir /r /REBOOTOK $INSTDIR\share
133135
RMDir /r /REBOOTOK $INSTDIR\daemon
134136
DeleteRegValue HKCU "${REGKEY}\Components" Main

0 commit comments

Comments
 (0)