aboutsummaryrefslogtreecommitdiff
path: root/share/setup.nsi.in
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-08-12 10:43:22 +0100
committerfanquake <fanquake@gmail.com>2022-08-16 11:32:42 +0100
commit0eac1f7ba49eacf7a87fcb25dff762c4d28a2509 (patch)
tree3dad7ad8e725e52b66d1943a28cdd6bcff26aab9 /share/setup.nsi.in
parentcf39913e574857b8066795d33cb88ac5e45d05db (diff)
build: include share/rpcauth in tarball & installer
Fixes #19081.
Diffstat (limited to 'share/setup.nsi.in')
-rw-r--r--share/setup.nsi.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/setup.nsi.in b/share/setup.nsi.in
index a5fb2e06cb..7fa2f39c3c 100644
--- a/share/setup.nsi.in
+++ b/share/setup.nsi.in
@@ -75,6 +75,8 @@ 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
+ SetOutPath $INSTDIR\share\rpcauth
+ File @abs_top_srcdir@/share/rpcauth/*.*
SetOutPath $INSTDIR\daemon
File @abs_top_builddir@/release/@BITCOIN_DAEMON_NAME@@EXEEXT@
File @abs_top_builddir@/release/@BITCOIN_CLI_NAME@@EXEEXT@
@@ -127,6 +129,7 @@ Section /o -un.Main UNSEC0000
Delete /REBOOTOK $INSTDIR\@BITCOIN_GUI_NAME@@EXEEXT@
Delete /REBOOTOK $INSTDIR\COPYING.txt
Delete /REBOOTOK $INSTDIR\readme.txt
+ RMDir /r /REBOOTOK $INSTDIR\share
RMDir /r /REBOOTOK $INSTDIR\daemon
DeleteRegValue HKCU "${REGKEY}\Components" Main
SectionEnd