mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-10-24 06:48:40 +02:00
cmd message after privileged cmd closed
add message that he not closed cmd can be safly closed
This commit is contained in:
@@ -297,6 +297,8 @@ void UACDialog(const std::string& binaryName, std::string& args)
|
||||
|
||||
if(ShellExecuteEx(&shExInfo))
|
||||
{
|
||||
printer::inst()->print_msg(L0,
|
||||
"This window has been opened because xmr-stak needed to run as administrator. It can be safely closed now.");
|
||||
WaitForSingleObject(shExInfo.hProcess, INFINITE);
|
||||
CloseHandle(shExInfo.hProcess);
|
||||
// do not start the miner twice
|
||||
|
||||
Reference in New Issue
Block a user