Skip to content
Snippets Groups Projects

add macos arm64 support

Closed zeping he requested to merge hezeping/LibVLCSharp:3.x into 3.x
1 file
+ 6
0
Compare changes
  • Side-by-side
  • Inline
@@ -130,6 +130,12 @@ namespace LibVLCSharp.Shared
static void LoadLibVLC(string? libvlcDirectoryPath = null)
{
if (PlatformHelper.IsMac && RuntimeInformation.RuntimeIdentifier == "osx-arm64" &&
string.IsNullOrEmpty(libvlcDirectoryPath))
{
libvlcDirectoryPath = Path.Combine(AppContext.BaseDirectory, "vlcLib");
}
// full path to directory location of libvlc and libvlccore has been provided
if (!string.IsNullOrEmpty(libvlcDirectoryPath))
{
Loading