Browse Source

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

pull/15/head
Adam Wolf 6 years ago
committed by Wayne Stambaugh
parent
commit
c7c49cee5a
  1. 5
      eeschema/sim/ngspice.cpp

5
eeschema/sim/ngspice.cpp

@ -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"
};

Loading…
Cancel
Save