From d33c5b6f0846dfe34ac4b2ecc1348897607e0faf Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 29 Aug 2021 15:19:10 +0200 Subject: Windows: Set minimal supported version to Windows 8 since our driver is now signed only SHA256 --- src/Common/Dlgcode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c index a23b01a3..17b92b8a 100644 --- a/src/Common/Dlgcode.c +++ b/src/Common/Dlgcode.c @@ -3206,8 +3206,8 @@ void InitApp (HINSTANCE hInstance, wchar_t *lpszCommandLine) RemoteSession = GetSystemMetrics (SM_REMOTESESSION) != 0; - // OS version check - if (CurrentOSMajor < 5) + // OS version check: from version 1.25, only Windows 8 and newer is supported + if (!IsOSVersionAtLeast(WIN_8, 0)) { MessageBoxW (NULL, GetString ("UNSUPPORTED_OS"), lpszTitle, MB_ICONSTOP); exit (1); -- cgit v1.2.3