File tree 1 file changed +7
-1
lines changed
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()
327
327
doc->put_async (VARIANT_FALSE);
328
328
329
329
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)" );
331
331
DoEnvironmentSubst (path, _countof (path));
332
332
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
+
333
339
VARIANT_BOOL loaded;
334
340
if (SUCCEEDED (doc->load (CComVariant (path), &loaded)) && loaded)
335
341
{
You can’t perform that action at this time.
0 commit comments