Home dir support for python plugins on all platforms
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The user's home dir is not supported for python plugins on all platforms, only on Linux. It should be easy because there's os.path.
In kicadplugins.i there's
if sys.platform.
which could probably be replaced with
#for all platforms
plugin_
plugin_
plugin_
(NOTE: NOT TESTED)
Actually I was probably wrong, I don't remember anymore why I thought the user directory doesn't work on Windows. Apparently config_path (above the quoted lines) should add a user's directory to the list. But making the change shouldn't hurt, either.