1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-11 00:45:53 +01:00

Reinstate FileNames::PlugInDir() for Linux

Reverting its removal in commit 1dd6b848c2.
Path added to Nyquist *SYSTEM-DIR* PLUG-IN property.
This commit is contained in:
Steve Daulton
2017-06-04 17:21:07 +01:00
parent ee9649eeb5
commit 9816cc8c7b
3 changed files with 3 additions and 4 deletions

View File

@@ -1437,13 +1437,11 @@ void PluginManager::FindFilesInPathList(const wxString & pattern,
wxArrayString paths;
// Add the "per-user" plug-ins directory Windows / Mac
#if defined(__WXMAC__) || defined(__WXMSW__)
// Add the "per-user" plug-ins directory
{
const wxFileName &ff = FileNames::PlugInDir();
paths.Add(ff.GetFullPath());
}
#endif
// Add the "Audacity" plug-ins directory
wxFileName ff = PlatformCompatibility::GetExecutablePath();