Adding custom directories to search paths. (For footprint generators)

Running into the same issue as below when attempting to develop a custom footprint generator.

The solution posted above only works in the Python console.

And it seems like there is no option to add custom directories. Everything is fixed from either the code or the cmakelist.

Is there a way to add a script folder without symlinks or recompilation?