mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-27 14:08:18 +03:00
steam_helper: Always pass CREATE_UNICODE_ENVIRONMENT to CreateProcess
According to Joshua Ashton, real steam.exe does this.
This commit is contained in:
parent
68f982bd47
commit
ef07eee01a
@ -493,7 +493,7 @@ static HANDLE run_process(BOOL *should_await)
|
|||||||
WCHAR *cmdline = GetCommandLineW();
|
WCHAR *cmdline = GetCommandLineW();
|
||||||
STARTUPINFOW si = { sizeof(si) };
|
STARTUPINFOW si = { sizeof(si) };
|
||||||
PROCESS_INFORMATION pi;
|
PROCESS_INFORMATION pi;
|
||||||
DWORD flags = 0;
|
DWORD flags = CREATE_UNICODE_ENVIRONMENT;
|
||||||
BOOL use_shell_execute = TRUE;
|
BOOL use_shell_execute = TRUE;
|
||||||
|
|
||||||
/* skip argv[0] */
|
/* skip argv[0] */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user