Add additional ngspice codemodel path for launching from standalone eeschema on macOS.

This commit is contained in:
Adam Wolf 2019-10-03 20:13:04 -05:00 committed by Wayne Stambaugh
parent 4302bc2562
commit c7c49cee5a
1 changed files with 3 additions and 2 deletions

View File

@ -443,10 +443,11 @@ string NGSPICE::findCmPath() const
"/Applications/ngspice/lib/ngspice",
"Contents/Frameworks",
wxStandardPaths::Get().GetPluginsDir() + "/sim/ngspice",
wxFileName( wxStandardPaths::Get().GetExecutablePath() ).GetPath() + "/../../../../../Contents/PlugIns/sim/ngspice"
wxFileName( wxStandardPaths::Get().GetExecutablePath() ).GetPath() + "/../../../../../Contents/PlugIns/sim/ngspice",
"../Plugins/sim/ngspice",
#endif /* __WXMAC__ */
"../lib/ngspice",
"../../lib/ngspice"
"../../lib/ngspice",
"lib/ngspice",
"ngspice"
};