AutoUpdater: Don't show a spinning wheel cursor when delaying update

This commit is contained in:
Pierre Bourdon 2018-03-23 00:31:58 +01:00
parent 9628333b86
commit 1f3310874b
1 changed files with 1 additions and 0 deletions

View File

@ -134,6 +134,7 @@ void AutoUpdateChecker::TriggerUpdate(const AutoUpdateChecker::NewVersionInforma
// Run the updater!
std::wstring command_line = MakeUpdaterCommandLine(updater_flags);
STARTUPINFO sinfo = {sizeof(info)};
sinfo.dwFlags = STARTF_FORCEOFFFEEDBACK; // No hourglass cursor after starting the process.
PROCESS_INFORMATION pinfo;
INFO_LOG(COMMON, "Updater command line: %s", UTF16ToUTF8(command_line).c_str());
if (!CreateProcessW(UTF8ToUTF16(reloc_updater_path).c_str(),