diff --git a/platform/util/src/com/intellij/openapi/util/SystemInfo.java b/platform/util/src/com/intellij/openapi/util/SystemInfo.java index 99468ed2a3e6..c8ced8eda9e5 100644 --- a/platform/util/src/com/intellij/openapi/util/SystemInfo.java +++ b/platform/util/src/com/intellij/openapi/util/SystemInfo.java @@ -172,6 +172,10 @@ public class SystemInfo extends SystemInfoRt { return new int[]{toInt(parts.get(0)), toInt(parts.get(1)), toInt(parts.get(2))}; } + public static String getOsNameAndVersion() { + return System.getProperty("os.name") + " " + System.getProperty("os.version"); + } + private static int normalize(int number) { return number > 9 ? 9 : number; }