From feb24f2b140634d8277de80115501cf6caf8b990 Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Mon, 1 Jun 2020 17:02:58 -0500 Subject: [PATCH] Bug 2467 - Modules are not available for "Portable" Audacity --- src/AudacityApp.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/AudacityApp.cpp b/src/AudacityApp.cpp index f3980adf5..5eeda868d 100644 --- a/src/AudacityApp.cpp +++ b/src/AudacityApp.cpp @@ -1155,6 +1155,9 @@ bool AudacityApp::OnInit() FileNames::AddMultiPathsToPathList(pathVar, audacityPathList); FileNames::AddUniquePathToPathList(::wxGetCwd(), audacityPathList); + wxString progPath = wxPathOnly(argv[0]); + FileNames::AddUniquePathToPathList(progPath, audacityPathList); + #ifdef AUDACITY_NAME FileNames::AddUniquePathToPathList(wxString::Format(wxT("%s/.%s-files"), home, wxT(AUDACITY_NAME)),