Merge pull request #11642 from shuffle2/winupdater-fail

winupdater: improve wording of UI::Error
This commit is contained in:
Mai 2023-03-12 04:11:16 -04:00 committed by GitHub
commit ab05dfc263
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -179,11 +179,13 @@ void ResetCurrentProgress()
void Error(const std::string& text)
{
auto wide_text = UTF8ToWString(text);
auto message = L"A fatal error occurred and the updater cannot continue:\n " +
UTF8ToWString(text) + L"\n" +
L"If the issue persists, please manually download the latest version from "
L"dolphin-emu.org/download and extract it overtop your existing installation.\n" +
L"Also consider filing a bug at bugs.dolphin-emu.org/projects/emulator";
MessageBox(nullptr,
(L"A fatal error occured and the updater cannot continue:\n " + wide_text).c_str(),
L"Error", MB_ICONERROR);
MessageBox(nullptr, message.c_str(), L"Error", MB_ICONERROR);
if (taskbar_list)
{