Skip to content

Commit

Permalink
upd - Updated NativeLand to fix bugs
Browse files Browse the repository at this point in the history
---

Type: upd
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Jul 27, 2024
1 parent d743b3a commit ae38e18
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions SpecProbe.Native/Initializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ internal static void InitializeNative()
if (!File.Exists(libPath))
throw new Exception("Can't load specprober library because it isn't found.");
libManager = new LibraryManager(
new LibraryItem(NativeLand.Platform.Windows, Architecture.X86,
new LibraryItem(Platform.Windows, Architecture.X86,
new LibraryFile(libPath)),
new LibraryItem(NativeLand.Platform.Windows, Architecture.X64,
new LibraryItem(Platform.Windows, Architecture.X64,
new LibraryFile(libPath)),
new LibraryItem(NativeLand.Platform.MacOS, Architecture.X64,
new LibraryItem(Platform.MacOS, Architecture.X64,
new LibraryFile(libPath)),
new LibraryItem(NativeLand.Platform.Linux, Architecture.X64,
new LibraryItem(Platform.Linux, Architecture.X64,
new LibraryFile(libPath)),
new LibraryItem(NativeLand.Platform.Linux, Architecture.X86,
new LibraryItem(Platform.Linux, Architecture.X86,
new LibraryFile(libPath)));
libManager.LoadNativeLibrary();
_initialized = true;
Expand Down
2 changes: 1 addition & 1 deletion SpecProbe.Native/SpecProbe.Native.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="NativeLand" Version="2.0.0" />
<PackageReference Include="NativeLand" Version="2.0.0.1" />
</ItemGroup>

</Project>

0 comments on commit ae38e18

Please sign in to comment.