Skip to content

Commit

Permalink
Update DefaultVersionLocator.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
laolarou726 committed Oct 25, 2023
1 parent 4f140ce commit a7d5b9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ public override (List<NativeFileInfo>, List<FileInfo>) GetNatives(IEnumerable<Li

if(!lib.Natives!.TryGetValue(Constants.OsSymbol, out var value)) continue;

var key = value.Replace("${arch}", SystemInfoHelper.GetSystemArch());
var key = value.Replace("${arch}", SystemInfoHelper.GetSystemArch().TrimStart('x'));

FileInfo libFi;
if (lib.Downloads?.Classifiers?.ContainsKey(key) ?? false)
Expand Down

0 comments on commit a7d5b9a

Please sign in to comment.