From 3691cb257d6876ccb8fd71fae23334ab33dc76b1 Mon Sep 17 00:00:00 2001 From: bouni Date: Thu, 4 Jul 2024 14:39:12 +0200 Subject: [PATCH] Update version, fix some minor issues --- README.md | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index d78cb78..1f2a00b 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ *** - + *** @@ -29,7 +29,7 @@ Furthermore it lets you search the JLCPCB parts database and assign parts direct ## Warning 🔥 -I try to keep it working with 7.99 nightly builds but there are massive API changes on the horizon and I'm not sure if I can keep up with them. +I try to keep it working with 8.99 nightly builds but there are massive API changes on the horizon and I'm not sure if I can keep up with them. **This is under a lot of developments, so consider this README out of date all the time 😏** @@ -56,14 +56,14 @@ Simply clone this repo into your `scripting/plugins` folder. **Windows** ```sh -cd C:\users\\Documents\kicad\\scripting\plugins\ # is your username, can be 6.0, 7.0, or 7.99 depending on the version you use +cd C:\users\\Documents\kicad\\scripting\plugins\ # is your username, can be 7.0, 8.0, or 8.99 depending on the version you use git clone https://github.com/Bouni/kicad-jlcpcb-tools.git ``` **Linux** ```sh -cd /home//.local/share/kicad//scripting/plugins # can be 6.0, 7.0, or 7.99 depending on the version you use +cd /home//.local/share/kicad//scripting/plugins # can be 7.0, 8.0, or 8.99 depending on the version you use git clone https://github.com/Bouni/kicad-jlcpcb-tools.git ``` @@ -177,18 +177,22 @@ The {KiCad python} should be used, this can be found at different | OS | Kicad python | |---|---| -|Mac| /Applications/KiCad/KiCad.app/Contents/Frameworks/Python.framework/Versions/3.9/bin/python3| -|Linux| TBD| -|Windows | C:\Program Files\KiCad\8.0\bin\python.exe| +|Mac| /Applications/KiCad/KiCad.app/Contents/Frameworks/Python.framework/Versions/3.9/bin/python3 | +|Linux| /usr/bin/python3 | +|Windows | C:\Program Files\KiCad\8.0\bin\python.exe | #### Working directory The {working directory} should be your plugins directory, ie: -|OS | Working dir| -|Mac| ~/Documents/KiCad/8.0/scripting/plugins/| -|Linux|TBD| -|Windows| %USERPROFILE%\Documents\KiCad\8.0\scripting\plugins\| +| OS | Working dir | +|---|---| +|Mac| ~/Documents/KiCad//scripting/plugins/ | +|Linux| ~/.local/share/kicad//scripting/plugins/ | +|Windows| %USERPROFILE%\Documents\KiCad\\scripting\plugins\ | + +> [!NOTE] +> can be 7.0, 8.0, or 8.99 depending on the version you use #### Plugin folder name @@ -218,6 +222,12 @@ For example on Mac: /Applications/KiCad/KiCad.app/Contents/Frameworks/Python.framework/Versions/3.9/bin/python3 -m kicad-jlcpcb-tools ``` +For example on Linux: + +```sh +cd ~/.local/share/kicad/8.0/scripting/plugins/ && python -m kicad-jlcpcb-tools +``` + For example on Windows: ```cmd