Add support for multiple processor groups.

Merge from upstream.
This commit is contained in:
Phyxion
2020-05-11 13:29:52 +02:00
parent a18136b55e
commit 3cc3d9139c
22 changed files with 390 additions and 135 deletions
@@ -14,7 +14,7 @@ namespace LibreHardwareMonitor.Software
{
// The operating system doesn't change during execution so let's query it just one time.
PlatformID platform = Environment.OSVersion.Platform;
IsLinux = platform == PlatformID.Unix || platform == PlatformID.MacOSX;
IsUnix = platform == PlatformID.Unix || platform == PlatformID.MacOSX;
if (Environment.Is64BitOperatingSystem)
Is64Bit = true;
@@ -22,6 +22,6 @@ namespace LibreHardwareMonitor.Software
public static bool Is64Bit { get; }
public static bool IsLinux { get; }
public static bool IsUnix { get; }
}
}