Modified path on osx due to GetExecutablePath() pointing to the root of the .app bundle

This commit is contained in:
Simon Wells
2016-09-23 10:24:52 -04:00
committed by Wayne Stambaugh
parent 374808ac5b
commit 3a50f7367f
+3
View File
@@ -471,6 +471,9 @@ PCB_EDIT_FRAME::PCB_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
// disable Export STEP item if kicad2step does not exist
wxString strK2S = Pgm().GetExecutablePath();
#ifdef __WXMAC__
strK2S += "Contents/MacOS/";
#endif
wxFileName appK2S( strK2S, "kicad2step" );
#ifdef _WIN32