From 7f8fcca2b9160063f88ce5d1990c3acf9d320ae8 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Fri, 28 Jul 2023 15:25:33 +0200 Subject: [PATCH] [platform] windows .exe launcher: dropping dysfunctional Windows 7 check (IDEA-321516) GitOrigin-RevId: f60742935e767a44a6d23b1f0569d5c2ea56bbd2 --- native/WinLauncher/WinLauncher.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/native/WinLauncher/WinLauncher.cpp b/native/WinLauncher/WinLauncher.cpp index 96f242b5a6f8..bf14f7c577e7 100644 --- a/native/WinLauncher/WinLauncher.cpp +++ b/native/WinLauncher/WinLauncher.cpp @@ -15,7 +15,6 @@ #include #include #include -#include #include @@ -857,13 +856,6 @@ void PrintUsage() MessageBoxA(NULL, buf.str().c_str(), "Command-line Options", MB_OK); } -bool IsSupportedVersion() { - if (IsWindows8OrGreater()) return true; - const char *text = "The IDE cannot run on this OS version.\nPlease use Windows 10 1809 or newer."; - MessageBoxA(NULL, text, "Startup Error", MB_OK | MB_ICONSTOP); - return false; -} - #ifdef USE_CEF_SANDBOX bool isCefSubprocess() { return wcsstr(GetCommandLineW(), L"--type="); @@ -903,8 +895,6 @@ int APIENTRY _tWinMain(HINSTANCE hInstance, } } - if (!IsSupportedVersion()) return 1; - std::string homeDir = GetHomeDir(); if (!LocateJVM(homeDir)) return 1;