From c3a7b4d126e81cb77ef0f8004d9900c3269fe57d Mon Sep 17 00:00:00 2001 From: kintel Date: Sun, 28 Oct 2007 17:47:17 +0000 Subject: [PATCH] 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 --- include/common.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/include/common.h b/include/common.h index 2113b56111..ca514d5117 100644 --- a/include/common.h +++ b/include/common.h @@ -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