We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9608b9f commit a3c2061Copy full SHA for a3c2061
LibGit2Sharp/Core/Platform.cs
@@ -12,7 +12,7 @@ internal enum OperatingSystemType
12
13
internal static class Platform
14
{
15
- public static string ProcessorArchitecture => IntPtr.Size == 8 ? "x64" : "x86";
+ public static string ProcessorArchitecture => RuntimeInformation.ProcessArchitecture.ToString().ToLowerInvariant();
16
17
public static OperatingSystemType OperatingSystem
18
0 commit comments