info-beamer

Allow Lua require to access local subfolders

Hello,

the Lua API says that require only allows local files. I’m okay with that, but why not allow local subfolders? This would allow a better organisation o local files, e.g. putting all fonts in a font/ folder, or all self written Lua libraries in a subfolder.

require("scripts.something") gives me invalid resource name. must be local file
But it is a local file, just in a subfolder?

Thanks
obelix

I agree: https://info-beamer.com/blog/introducing-nested-nodes :slight_smile:

1 Like
info-beamer - Digital Signage for the Raspberry Pi community forum - Imprint