Windows: fix link error in custom EFI / VC_SKIP_OS_DRIVER_REQ_CHECK configuration

This commit is contained in:
Mounir IDRASSI
2025-06-09 11:41:12 +09:00
parent 87a5024a5b
commit 08093f460a
5 changed files with 9 additions and 29 deletions

View File

@@ -3855,9 +3855,9 @@ void InitApp (HINSTANCE hInstance, wchar_t *lpszCommandLine)
// in TESTSIGNING mode, we support only Windows 7 and Windows 8/8.1
if (
#ifndef SETUP
IsOSVersionAtLeast(WIN_10, 0)
IsOSVersionAtLeast(WIN_10, 0) ||
#else
|| (IsOSVersionAtLeast(WIN_10, 0) && !bMakePackage)
(IsOSVersionAtLeast(WIN_10, 0) && !bMakePackage)
#endif
)
{