Merge pull request #11666 from AdmiralCurtiss/updater-spaces

WinUpdater: Quote path for args when relaunching Dolphin.
This commit is contained in:
Admiral H. Curtiss
2023-03-18 18:32:35 +01:00
committed by GitHub

View File

@ -271,7 +271,7 @@ void LaunchApplication(std::string path)
} }
else else
{ {
std::wstring cmdline = wpath; std::wstring cmdline = L"\"" + wpath + L"\"";
STARTUPINFOW startup_info{.cb = sizeof(startup_info)}; STARTUPINFOW startup_info{.cb = sizeof(startup_info)};
PROCESS_INFORMATION process_info; PROCESS_INFORMATION process_info;
if (IsTestMode()) if (IsTestMode())