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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user