1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2024-11-27 17:00:59 +01:00

Taskbar10: Disabled the patch for proper acrylic background on Canary builds

I'm adding this check until a proper fix is made, so that EP can run on Canary although features will be very limited
This commit is contained in:
Amrsatrio 2023-10-07 03:24:58 +07:00
parent bdd71efeb9
commit 4ee742f116

View File

@ -11048,7 +11048,10 @@ DWORD Inject(BOOL bIsExplorer)
if (bOldTaskbar && global_rovi.dwBuildNumber >= 22572)
{
VnPatchIAT(hExplorer, "dwmapi.dll", "DwmUpdateThumbnailProperties", explorer_DwmUpdateThumbnailPropertiesHook);
PatchExplorer_UpdateWindowAccentProperties();
if (global_rovi.dwBuildNumber < 25000) // TODO Needs fixing in Canary
{
PatchExplorer_UpdateWindowAccentProperties();
}
}
if (IsWindows11())
{