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
commit fb7a371ac0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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