From ae38e184c756fa706bcc934cec2fcb4c527b55f8 Mon Sep 17 00:00:00 2001 From: Aptivi CEO Date: Sat, 27 Jul 2024 19:35:22 +0300 Subject: [PATCH] upd - Updated NativeLand to fix bugs --- Type: upd Breaking: False Doc Required: False Backport Required: False Part: 1/1 --- SpecProbe.Native/Initializer.cs | 10 +++++----- SpecProbe.Native/SpecProbe.Native.csproj | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/SpecProbe.Native/Initializer.cs b/SpecProbe.Native/Initializer.cs index 231bee3..ecfc185 100644 --- a/SpecProbe.Native/Initializer.cs +++ b/SpecProbe.Native/Initializer.cs @@ -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; diff --git a/SpecProbe.Native/SpecProbe.Native.csproj b/SpecProbe.Native/SpecProbe.Native.csproj index dea5dde..206933e 100644 --- a/SpecProbe.Native/SpecProbe.Native.csproj +++ b/SpecProbe.Native/SpecProbe.Native.csproj @@ -46,7 +46,7 @@ - +