File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -327,9 +327,15 @@ static std::vector<std::vector<uint8_t>> ParseModernSettings()
327327 doc->put_async (VARIANT_FALSE);
328328
329329 wchar_t path[MAX_PATH]{};
330- wcscpy_s (path, LR"( %windir%\ImmersiveControlPanel\Settings\AllSystemSettings_{253E530E-387D-4BC2-959D-E6F86122E5F2 }.xml)" );
330+ wcscpy_s (path, LR"( %windir%\ImmersiveControlPanel\Settings\AllSystemSettings_{FDB289F3-FCFC-4702-8015-18926E996EC1 }.xml)" );
331331 DoEnvironmentSubst (path, _countof (path));
332332
333+ if (!PathFileExists (path))
334+ {
335+ wcscpy_s (path, LR"( %windir%\ImmersiveControlPanel\Settings\AllSystemSettings_{253E530E-387D-4BC2-959D-E6F86122E5F2}.xml)" );
336+ DoEnvironmentSubst (path, _countof (path));
337+ }
338+
333339 VARIANT_BOOL loaded;
334340 if (SUCCEEDED (doc->load (CComVariant (path), &loaded)) && loaded)
335341 {
You can’t perform that action at this time.
0 commit comments