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

14
data/OpenOS/bin/pwd.lua Normal file
View File

@@ -0,0 +1,14 @@
local shell = require("shell")
local fs = require("filesystem")
local _,op = shell.parse(...)
local path, why = shell.getWorkingDirectory(), ""
if op.P then
path, why = fs.realPath(path)
end
if not path then
io.stderr:write(string.format("error retrieving current directory: %s", why))
os.exit(1)
end
io.write(path, "\n")