mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-16 07:47:58 +01:00
Bug 1577 - Application configuration file location incorrect on Linux/case-sensitive Macs
On windows the capitalisation does not matter. On Mac/Windows we use 'audacity' in path names, even if the directories wxWidgets suggests have 'Audacity'.
This commit is contained in:
@@ -149,7 +149,9 @@ void InitPreferences()
|
||||
wxString langCode = gPrefs->Read(wxT("/Locale/Language"), wxEmptyString);
|
||||
bool writeLang = false;
|
||||
|
||||
const wxFileName fn(wxStandardPaths::Get().GetResourcesDir(), wxT("FirstTime.ini"));
|
||||
const wxFileName fn(
|
||||
FileNames::ResourcesDir(),
|
||||
wxT("FirstTime.ini"));
|
||||
if (fn.FileExists()) // it will exist if the (win) installer put it there
|
||||
{
|
||||
const wxString fullPath{fn.GetFullPath()};
|
||||
|
||||
Reference in New Issue
Block a user