Correct SWIG path
Don't offset from executable, this is an absolute path Fixes https://gitlab.com/kicad/code/kicad/issues/7089
This commit is contained in:
parent
2d64613bbb
commit
b57ad4b2f9
|
@ -660,7 +660,7 @@ wxString PyScriptingPath( bool aUserPath )
|
||||||
#if defined( __WXMAC__ )
|
#if defined( __WXMAC__ )
|
||||||
path = GetOSXKicadDataDir() + wxT( "/scripting" );
|
path = GetOSXKicadDataDir() + wxT( "/scripting" );
|
||||||
#else
|
#else
|
||||||
path = Pgm().GetExecutablePath() + KICAD_DATA + wxS( "/scripting" );
|
path = KICAD_DATA + wxS( "/scripting" );
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue