Report CPU arch in logs and sysinfo.

This commit is contained in:
Paul Chote
2022-12-17 17:34:48 +13:00
committed by Gustas
parent a17e1671f0
commit 80945cd08a
4 changed files with 6 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
public class SystemInfoPromptLogic : ChromeLogic
{
// Increment the version number when adding new stats
const int SystemInformationVersion = 4;
const int SystemInformationVersion = 5;
static Dictionary<string, (string Label, string Value)> GetSystemInformation()
{
@@ -29,6 +29,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
{
{ "id", ("Anonymous ID", Game.Settings.Debug.UUID) },
{ "platform", ("OS Type", Platform.CurrentPlatform.ToString()) },
{ "arch", ("Architecture", Platform.CurrentArchitecture.ToString()) },
{ "os", ("OS Version", Environment.OSVersion.ToString()) },
{ "x64", ("OS is 64 bit", Environment.Is64BitOperatingSystem.ToString()) },
{ "x64process", ("Process is 64 bit", Environment.Is64BitProcess.ToString()) },