I would like to make a small suggestion for the default menu.
The menu lists all files and folders inside the lpp folder but only launches the .lua files,
so if a homebrew has multiple files we need to make another folder elsewhere and put the loading script inside the lpp folder.
For those cases I think it would be better to just have one folder inside the lpp with all files and a index.lua
and on the menu script check if the files inside the lpp are folders and if so try to launch the index.lua inside.
Code: Select all
file = "cache0:/lpp/" .. scripts[i].name
if scripts[i].directory and System.doesFileExist(file .. "/index.lua") then
file = file .. "/index.lua"