[Runner] Open settings when restarted as admin (#9463)

* open settings from runner

* Update src/runner/main.cpp

* Update src/runner/main.cpp

Co-authored-by: Enrico Giordani <enricogior@users.noreply.github.com>
This commit is contained in:
Davide Giacometti
2021-02-10 14:48:43 +01:00
committed by GitHub
parent d92ff6d45d
commit 3715b8c5f2
4 changed files with 19 additions and 8 deletions

View File

@@ -79,7 +79,7 @@ std::optional<std::wstring> dispatch_json_action_to_module(const json::JsonObjec
}
else
{
schedule_restart_as_elevated();
schedule_restart_as_elevated(true);
PostQuitMessage(0);
}
}