diff --git a/Console/Console.csproj b/Console/Console.csproj
index c180e3b..0b290d2 100644
--- a/Console/Console.csproj
+++ b/Console/Console.csproj
@@ -58,12 +58,12 @@
-
+
-
+
\ No newline at end of file
diff --git a/Console/Utils.cs b/Console/Utils.cs
index e6d9fd0..c56852e 100644
--- a/Console/Utils.cs
+++ b/Console/Utils.cs
@@ -1,6 +1,5 @@
using System.Reflection;
using DbUp;
-using NativeLibraryManager;
using PortAudioSharp;
using Terminal.Gui;
@@ -12,36 +11,7 @@ public static class Utils
public static void ConfigurePlatformDependencies()
{
- ResourceAccessor accessor = new(Assembly.GetExecutingAssembly());
- LibraryManager libManager =
- new(
- new LibraryItem(
- Platform.Linux,
- Bitness.x64,
- new LibraryFile("libportaudio.so", accessor.Binary("libportaudio.so"))
- ),
- new LibraryItem(
- Platform.Linux,
- Bitness.x32,
- new LibraryFile("libportaudio.so", accessor.Binary("libportaudio.so"))
- ),
- new LibraryItem(
- Platform.MacOs,
- Bitness.x64,
- new LibraryFile("libportaudio.dylib", accessor.Binary("libportaudio.dylib"))
- ),
- new LibraryItem(
- Platform.Windows,
- Bitness.x64,
- new LibraryFile("portaudio.dll", accessor.Binary("portaudio.dll"))
- ),
- new LibraryItem(
- Platform.Windows,
- Bitness.x32,
- new LibraryFile("portaudio.dll", accessor.Binary("portaudio.dll"))
- )
- );
- libManager.LoadNativeLibrary();
+ PortAudio.LoadNativeLibrary();
PortAudio.Initialize();
}