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

(cherry picked from commit c7c49cee5a)
This commit is contained in:
Adam Wolf 2019-10-03 20:13:04 -05:00 committed by Wayne Stambaugh
parent 69d0446019
commit 105c3b0a4c
1 changed files with 3 additions and 2 deletions

View File

@ -423,10 +423,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"
};