2016-09-12 22:15:04 +02:00
|
|
|
Index: common/kiface_i.cpp
|
2015-09-24 10:24:25 +02:00
|
|
|
===================================================================
|
2018-08-02 18:36:44 +02:00
|
|
|
--- common/kiface_i.cpp.orig 2018-07-13 21:53:52.000000000 +0200
|
|
|
|
+++ common/kiface_i.cpp 2018-07-20 16:03:55.529317649 +0200
|
|
|
|
@@ -61,6 +62,13 @@ static void setSearchPaths( SEARCH_STACK
|
2016-09-12 22:15:04 +02:00
|
|
|
fn.RemoveLastDir();
|
|
|
|
fn.RemoveLastDir(); // "../../" up twice, removing library/doc/
|
|
|
|
}
|
|
|
|
+ // user local library
|
|
|
|
+ wxString homeDir = wxFileName::GetHomeDir();
|
|
|
|
+ aDst->AddPaths( homeDir + wxT( "/.local/share/kicad/library-repos/kicad-library/library" ) );
|
|
|
|
+ aDst->AddPaths( homeDir + wxT( "/.local/share/kicad/library-repos/kicad-library/modules" ) );
|
|
|
|
+ aDst->AddPaths( homeDir + wxT( "/.local/share/kicad/library-repos/kicad-library/modules/packages3d" ) );
|
|
|
|
+ aDst->AddPaths( homeDir + wxT( "/.local/share/kicad/library-repos/kicad-library/template" ) );
|
2018-08-02 18:36:44 +02:00
|
|
|
+
|
2016-09-12 22:15:04 +02:00
|
|
|
|
|
|
|
// Add PCB library file path to search path list.
|
|
|
|
if( aId == KIWAY::FACE_PCB || aId == KIWAY::FACE_CVPCB )
|