try fix osx detection than ms keeps breaking

This commit is contained in:
UbitUmarov
2022-11-16 00:20:37 +00:00
parent 18e20d6fdd
commit 8685ebe655
4 changed files with 11 additions and 9 deletions

View File

@@ -187,7 +187,7 @@ namespace OpenSim.Framework.Servers
m_log.Info("[STARTUP]: version: " + m_version);
m_log.InfoFormat("[STARTUP]: Operating system version: {0}, .NET platform {1}, Runtime {2}",
Environment.OSVersion, Environment.OSVersion.Platform, Environment.Version.ToString());
Environment.OSVersion, Util.RuntimePlatformStr, Environment.Version.ToString());
m_log.InfoFormat("[STARTUP]: Processor Architecture: {0}({1} {2}bit)",
RuntimeInformation.ProcessArchitecture.ToString(),
BitConverter.IsLittleEndian ?"le":"be", Environment.Is64BitProcess ? "64" : "32");