Merge pull request #3067 from Mrlinkwii/update

Qt/WinUpdater: Remove "Update Complete" dialog
This commit is contained in:
Connor McLaughlin 2023-12-13 01:20:47 +10:00 committed by GitHub
commit 60e27a105c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View File

@ -114,8 +114,6 @@ int main(int argc, char* argv[])
updater.CleanupStagingDirectory(); updater.CleanupStagingDirectory();
progress.ModalInformation("Update complete.");
result = EXIT_SUCCESS; result = EXIT_SUCCESS;
}); });

View File

@ -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);