Detect 64bit based on OS not process (#135)
This commit is contained in:
@@ -15,7 +15,7 @@ namespace LibreHardwareMonitor.Software
|
||||
PlatformID platform = Environment.OSVersion.Platform;
|
||||
IsLinux = platform == PlatformID.Unix || platform == PlatformID.MacOSX;
|
||||
|
||||
if (Environment.Is64BitProcess)
|
||||
if (Environment.Is64BitOperatingSystem)
|
||||
Is64Bit = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user