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

Ensure socket name supports either option described in bug #840

Doing now so we don't get into supporting another legacy name.
This commit is contained in:
lllucius@gmail.com
2015-01-21 17:01:06 +00:00
parent 361d3add9b
commit 661eb445d1

View File

@@ -1509,7 +1509,7 @@ bool AudacityApp::CreateSingleInstanceChecker(wxString dir)
mChecker = new wxSingleInstanceChecker();
#if defined(__UNIX__)
wxString sockFile(wxGetHomeDir() + wxT("/") + name + wxT(".sock"));
wxString sockFile(FileNames::DataDir() + wxT("/.audacity.sock"));
#endif
wxString runningTwoCopiesStr = _("Running two copies of Audacity simultaneously may cause\ndata loss or cause your system to crash.\n\n");