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