mirror of
https://github.com/storytold/figcraft.git
synced 2026-12-03 15:31:21 -05:00
5a5b8c02ff
A plugin can enable the .figcraft libraries it ships in its assets folder: permissions.libraries (plugin API 8, write access) names them, and library.add from the plugin enables only those, read from its own folder (links refused; a directory-installed plugin's read past automation roots as its module is), returning no path and a fixed message on failure. Manage plugins lists them, the install confirmation mentions them for API 8 write plugins, and a bundle must ship each one it names. Tests: libraries_tests, plugin_libraries_tests. Fixes #2752.