From 4ee742f116d252ae5b609bbff9ff1f7f18ed0049 Mon Sep 17 00:00:00 2001 From: Amrsatrio Date: Sat, 7 Oct 2023 03:24:58 +0700 Subject: [PATCH] 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 --- ExplorerPatcher/dllmain.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ExplorerPatcher/dllmain.c b/ExplorerPatcher/dllmain.c index fb392f8..4115891 100644 --- a/ExplorerPatcher/dllmain.c +++ b/ExplorerPatcher/dllmain.c @@ -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()) {