Browse Source

MacOSX - Fixed some issues launching bundles/binaries

pull/1/head
marco. 13 years ago
parent
commit
92f8f006fa
  1. 4
      common/gestfich.cpp

4
common/gestfich.cpp

@ -423,9 +423,9 @@ int ExecuteFile( wxWindow* frame, const wxString& ExecFile, const wxString& para
#ifdef __WXMAC__
if( wxFileExists( FullFileName ) || wxDir::Exists( FullFileName ) )
{
ProcessExecute( wxT("open -a ") + ExecFile + wxT(" ") + param );
ProcessExecute( wxGetApp().GetExecutablePath() + wxT("/") + ExecFile + wxT(" ") + param );
} else {
ProcessExecute( wxT("open ") + param );
ProcessExecute( wxT("/usr/bin/open ") + param );
}
return 0;
#else

Loading…
Cancel
Save