diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-03-18 18:32:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-18 18:32:35 +0100 |
| commit | fb7a371ac022f097df88d35b7e185e00ca496f50 (patch) | |
| tree | 5cfec5e44c67b57dfd06ed02e7e066f5a67756f3 /Source/Core | |
| parent | 04915d674900e1bb837a4cf477e65cc8a8879678 (diff) | |
| parent | 33d0ec97e995ac8b06f115a1842ca1228ae63def (diff) | |
Merge pull request #11666 from AdmiralCurtiss/updater-spaces
WinUpdater: Quote path for args when relaunching Dolphin.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/WinUpdater/WinUI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/WinUpdater/WinUI.cpp b/Source/Core/WinUpdater/WinUI.cpp index 48fae8a3b1..418764813b 100644 --- a/Source/Core/WinUpdater/WinUI.cpp +++ b/Source/Core/WinUpdater/WinUI.cpp @@ -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()) |
