Skip to content
Permalink
Browse files
Merge pull request #11642 from shuffle2/winupdater-fail
winupdater: improve wording of UI::Error
  • Loading branch information
lioncash committed Mar 12, 2023
2 parents ee28d33 + ab3da5e commit ab05dfc
Showing 1 changed file with 6 additions and 4 deletions.
@@ -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)
{

0 comments on commit ab05dfc

Please sign in to comment.