[platform] windows .exe launcher: dropping dysfunctional Windows 7 check (IDEA-321516)

GitOrigin-RevId: f60742935e767a44a6d23b1f0569d5c2ea56bbd2
This commit is contained in:
Roman Shevchenko
2023-07-28 15:25:33 +02:00
committed by intellij-monorepo-bot
parent 23b49e7b20
commit 7f8fcca2b9

View File

@@ -15,7 +15,6 @@
#include <ShellAPI.h>
#include <Shlobj.h>
#include <Knownfolders.h>
#include <VersionHelpers.h>
#include <jni.h>
@@ -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;