mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-22 08:45:50 +01: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();
|
mChecker = new wxSingleInstanceChecker();
|
||||||
|
|
||||||
#if defined(__UNIX__)
|
#if defined(__UNIX__)
|
||||||
wxString sockFile(wxGetHomeDir() + wxT("/") + name + wxT(".sock"));
|
wxString sockFile(FileNames::DataDir() + wxT("/.audacity.sock"));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
wxString runningTwoCopiesStr = _("Running two copies of Audacity simultaneously may cause\ndata loss or cause your system to crash.\n\n");
|
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