mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2025-01-31 12:03:50 +01:00
Added check to enable legacy menus only on newer builds that have
the new menus as well.
This commit is contained in:
parent
887b84c7f9
commit
ea42afb5be
@ -2724,7 +2724,12 @@ __declspec(dllexport) DWORD WINAPI main(
|
||||
0,
|
||||
wszSettingsPath
|
||||
);
|
||||
if (!bAllowImmersiveContextMenus)
|
||||
if (!bAllowImmersiveContextMenus &&
|
||||
rovi.dwMajorVersion >= 10 &&
|
||||
rovi.dwMinorVersion >= 0 &&
|
||||
rovi.dwBuildNumber >= 22000 &&
|
||||
ubr >= 65
|
||||
)
|
||||
{
|
||||
rv = funchook_prepare(
|
||||
funchook,
|
||||
|
Loading…
x
Reference in New Issue
Block a user