testing version of LuaBIOS and OpenOS

people were having issues getting them to work so now we promote consistency
This commit is contained in:
2025-06-28 20:41:49 +02:00
parent 8210e20939
commit 687cfebd00
182 changed files with 14016 additions and 1 deletions

18
data/OpenOS/bin/ls.lua Normal file
View File

@@ -0,0 +1,18 @@
-- load complex, if we can (might be low on memory)
local ok, why = pcall(function(...)
return loadfile("/lib/core/full_ls.lua", "bt", _G)(...)
end, ...)
if not ok then
if type(why) == "table" then
if why.code == 0 then
return
end
why = why.reason
end
io.stderr:write(tostring(why) .. "\nFor low memory systems, try using `list` instead\n")
return 1
end
return why