mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[platform] windows .exe launcher: dropping dysfunctional Windows 7 check (IDEA-321516)
GitOrigin-RevId: f60742935e767a44a6d23b1f0569d5c2ea56bbd2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
23b49e7b20
commit
7f8fcca2b9
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user