diff options
author | JeremyRand <biolizard89@gmail.com> | 2018-04-14 07:51:49 +0000 |
---|---|---|
committer | JeremyRand <biolizard89@gmail.com> | 2018-04-14 07:51:49 +0000 |
commit | 7d8a8cc25ffd756e42d478908f14d9adf8eceed8 (patch) | |
tree | 25582459f6208296a87b69ff96ea7506906cca69 /contrib/bitcoind.bash-completion | |
parent | 5f2a39946fd42535038e0143cbd289d3070b9f07 (diff) | |
download | bitcoin-7d8a8cc25ffd756e42d478908f14d9adf8eceed8.tar.xz |
Avoid launching as admin when NSIS installer ends.
The Bitcoin Core NSIS script runs with elevated privileges. Unfortunately, this means that it launches Bitcoin Core itself with elevated privileges when the user chooses to launch Bitcoin Core at the end of the installation procedure. This commit works around the issue by having explorer.exe launch Bitcoin Core. Seems to be a similar approach to what http://nsis.sourceforge.net/ShellExecAsUser_plug-in does, but without a plugin.
h/t to "UK" at https://mdb-blog.blogspot.se/2013/01/nsis-lunch-program-as-user-from-uac.html?showComment=1410158039989#c2463780017054126736 for the sample code.
Fixes #7990.
Diffstat (limited to 'contrib/bitcoind.bash-completion')
0 files changed, 0 insertions, 0 deletions