Use full path to executables under Mac OS X, this is because the Mac OS X app launcher doesn't support classic cmd-line parameters

This commit is contained in:
kintel 2007-10-28 17:47:17 +00:00
parent 36e5586539
commit c3a7b4d126
1 changed files with 5 additions and 6 deletions

View File

@ -47,12 +47,11 @@ enum pseudokeys {
#define PCBNEW_EXE wxT( "pcbnew" )
#define EESCHEMA_EXE wxT( "eeschema" )
#define GERBVIEW_EXE wxT( "gerbview" )
#endif
#ifdef __WXMAC__
#define CVPCB_EXE wxT( "cvpcb.app" )
#define PCBNEW_EXE wxT( "pcbnew.app" )
#define EESCHEMA_EXE wxT( "eeschema.app" )
#define GERBVIEW_EXE wxT( "gerbview.app" )
#else
#define CVPCB_EXE wxT("cvpcb.app/Contents/MacOS/cvpcb")
#define PCBNEW_EXE wxT("pcbnew.app/Contents/MacOS/pcbnew")
#define EESCHEMA_EXE wxT("eeschema.app/Contents/MacOS/eeschema")
#define GERBVIEW_EXE wxT("gerbview.app/Contents/MacOS/gerbview")
#endif
#endif