From 3392162d4908815f386f4abd19ec7f01f816d5eb Mon Sep 17 00:00:00 2001 From: Adam Wolf Date: Tue, 27 Nov 2018 07:58:05 -0600 Subject: [PATCH] Fixup documentation for macOS Python script plugins. Fixes #1789960. --- Documentation/development/pcbnew-plugins.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/development/pcbnew-plugins.md b/Documentation/development/pcbnew-plugins.md index d767ba567a..e196166293 100644 --- a/Documentation/development/pcbnew-plugins.md +++ b/Documentation/development/pcbnew-plugins.md @@ -43,9 +43,11 @@ packages and Python script files in specific directories on startup. In order for the discovery process to work, the following requirements must be met. * The plugin must be installed in the KiCad plugins search paths as documented - in `scripting/kicadplugins.i`. + in `scripting/kicadplugins.i`. You can always discover the search path for your + setup by opening the Scripting console and entering the command: `import pcbnew; + print pcbnew.PLUGIN_DIRECTORIES_SEARCH`. - Currently on a Linux Installation this is + Currently on a Linux Installation the plugins search path is * /usr/share/kicad/scripting/plugins/ * ~/.kicad/scripting/plugins @@ -56,7 +58,7 @@ In order for the discovery process to work, the following requirements must be m * \{KICAD_INSTALL_PATH\}/share/kicad/scripting/plugins * %APPDATA%/Roaming/kicad/scripting/plugins - On MacOS + On macOS, there is a security feature that makes it easier to add scripting plugins to the ~/Library... path than to kicad.app, but the search path is * /Applications/kicad/Kicad/Contents/SharedSupport/scripting/plugins * ~/Library/Application Support/kicad/scripting/plugins