1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-16 09:31:14 +01:00

Change Mac search paths to be in-app

This commit is contained in:
James Crook
2016-12-12 18:00:53 +00:00
parent 8f28382525
commit 28b3461bb2
2 changed files with 16 additions and 11 deletions

View File

@@ -1447,8 +1447,10 @@ void PluginManager::FindFilesInPathList(const wxString & pattern,
// Add the "Audacity" plug-ins directory
wxFileName ff = PlatformCompatibility::GetExecutablePath();
#if defined(__WXMAC__)
ff.RemoveLastDir();
ff.RemoveLastDir();
// Path ends for example in "Audacity.app/Contents/MacOSX"
//ff.RemoveLastDir();
//ff.RemoveLastDir();
// just remove the MacOSX part.
ff.RemoveLastDir();
#endif
ff.AppendDir(wxT("plug-ins"));