Merge pull request #3067 from Mrlinkwii/update
Qt/WinUpdater: Remove "Update Complete" dialog
This commit is contained in:
commit
60e27a105c
|
@ -114,8 +114,6 @@ int main(int argc, char* argv[])
|
||||||
|
|
||||||
updater.CleanupStagingDirectory();
|
updater.CleanupStagingDirectory();
|
||||||
|
|
||||||
progress.ModalInformation("Update complete.");
|
|
||||||
|
|
||||||
result = EXIT_SUCCESS;
|
result = EXIT_SUCCESS;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -94,8 +94,6 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLi
|
||||||
|
|
||||||
updater.CleanupStagingDirectory();
|
updater.CleanupStagingDirectory();
|
||||||
|
|
||||||
progress.ModalInformation("Update complete.");
|
|
||||||
|
|
||||||
progress.DisplayFormattedInformation("Launching '%s'...",
|
progress.DisplayFormattedInformation("Launching '%s'...",
|
||||||
StringUtil::WideStringToUTF8String(program_to_launch).c_str());
|
StringUtil::WideStringToUTF8String(program_to_launch).c_str());
|
||||||
ShellExecuteW(nullptr, L"open", program_to_launch.c_str(), nullptr, nullptr, SW_SHOWNORMAL);
|
ShellExecuteW(nullptr, L"open", program_to_launch.c_str(), nullptr, nullptr, SW_SHOWNORMAL);
|
||||||
|
|
Loading…
Reference in New Issue