Add systemroot env

This commit is contained in:
momo5502
2024-11-04 20:28:55 +01:00
parent 713a6d15a7
commit 2367db174e

View File

@@ -293,6 +293,7 @@ namespace
proc_params.Environment = allocator.copy_string(L"=::=::\\");
allocator.copy_string(L"EMULATOR=1");
allocator.copy_string(L"COMPUTERNAME=momo");
allocator.copy_string(L"SystemRoot=C:\\WINDOWS");
allocator.copy_string(L"");
std::wstring command_line = L"\"" + settings.application.wstring() + L"\"";