Skip to content

Commit

Permalink
Allow loading ARM specific runtime libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
glopesdev committed Jul 3, 2023
1 parent 88cd7aa commit 823ba49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Bonsai.Configuration/ConfigurationHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Xml;
using System.Xml.Serialization;

Expand All @@ -19,7 +20,7 @@ public static class ConfigurationHelper

static string GetEnvironmentPlatform()
{
return Environment.Is64BitProcess ? "x64" : "x86";
return RuntimeInformation.ProcessArchitecture.ToString().ToLowerInvariant();
}

static string GetDefaultConfigurationFilePath()
Expand Down

0 comments on commit 823ba49

Please sign in to comment.