Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Mac libvlc loading refactoring #163

Draft
wants to merge 10 commits into
base: 3.x
Choose a base branch
from
Prev Previous commit
Next Next commit
fix libvlc loading for cocoa
  • Loading branch information
mfkl committed Sep 10, 2020
commit 39d69556b34ac956cc8527e625c30f46c651cfab
3 changes: 1 addition & 2 deletions src/LibVLCSharp/Shared/Core/Core.Desktop.cs
Original file line number Diff line number Diff line change
@@ -91,8 +91,7 @@ static void InitializeDesktop(string? libvlcDirectoryPath = null)
if (PlatformHelper.IsMac)
{
#if !NETSTANDARD1_1
var pluginPath = Path.Combine(Path.GetDirectoryName(typeof(LibVLC).Assembly.Location),
Constants.LibVLC, ArchitectureNames.MacOS64, Constants.Plugins);
var pluginPath = Path.Combine(Path.GetDirectoryName(typeof(LibVLC).Assembly.Location), Constants.Plugins);
Console.Out.WriteLine("PluginPath: " + pluginPath);
PluginPath(pluginPath);
#endif