1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-11 17:13:37 +02:00

Linux build doesn't need environment variable to find the modules

This commit is contained in:
Paul Licameli
2021-05-18 17:30:16 -04:00
parent 5a362c308c
commit 906bd94826

View File

@@ -1149,6 +1149,8 @@ bool AudacityApp::OnInit()
wxString progPath = wxPathOnly(argv[0]);
FileNames::AddUniquePathToPathList(progPath, audacityPathList);
// Add the path to modules:
FileNames::AddUniquePathToPathList(progPath + L"/lib/audacity", audacityPathList);
FileNames::AddUniquePathToPathList(FileNames::DataDir(), audacityPathList);