mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-24 08:10:05 +02:00
Guess I was too lazy to test build on OSX... :-(
This commit is contained in:
parent
f19007b6de
commit
71bfad1a4a
@ -1593,9 +1593,11 @@ bool AudacityApp::CreateSingleInstanceChecker(wxString dir)
|
||||
wxString name = wxString::Format(wxT("audacity-lock-%s"), wxGetUserId().c_str());
|
||||
mChecker = new wxSingleInstanceChecker();
|
||||
|
||||
#if defined(__WXMSW__) || defined(__WXGTK__)
|
||||
wxString appl = IPC_APPL;
|
||||
#if defined(__WXGTK__)
|
||||
appl.Printf(wxT("%s/%s.sock"), dir.c_str(), IPC_APPL);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
wxString runningTwoCopiesStr = _("Running two copies of Audacity simultaneously may cause\ndata loss or cause your system to crash.\n\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user