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 PCBNEW_EXE wxT( "pcbnew" )
#define EESCHEMA_EXE wxT( "eeschema" ) #define EESCHEMA_EXE wxT( "eeschema" )
#define GERBVIEW_EXE wxT( "gerbview" ) #define GERBVIEW_EXE wxT( "gerbview" )
#endif #else
#ifdef __WXMAC__ #define CVPCB_EXE wxT("cvpcb.app/Contents/MacOS/cvpcb")
#define CVPCB_EXE wxT( "cvpcb.app" ) #define PCBNEW_EXE wxT("pcbnew.app/Contents/MacOS/pcbnew")
#define PCBNEW_EXE wxT( "pcbnew.app" ) #define EESCHEMA_EXE wxT("eeschema.app/Contents/MacOS/eeschema")
#define EESCHEMA_EXE wxT( "eeschema.app" ) #define GERBVIEW_EXE wxT("gerbview.app/Contents/MacOS/gerbview")
#define GERBVIEW_EXE wxT( "gerbview.app" )
#endif #endif
#endif #endif