Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove extra line
  • Loading branch information
Nonary authored and ReenigneArcher committed Mar 27, 2023
commit 8e9979cc2bae1afb5e6520639d290e9afc86b8c9
1 change: 0 additions & 1 deletion src/platform/windows/misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,6 @@ bp::child run_unprivileged(const std::string &cmd, boost::filesystem::path &work
if(!ret) {
auto error = GetLastError();


if(error == 740) {
BOOST_LOG(info) << "Could not execute previous command because it required elevation. Running the command again with elevation, for security reasons this will prompt user interaction."sv;
startup_info.StartupInfo.wShowWindow = SW_HIDE;
Expand Down