refactoring of halyde/kernel/boot.lua boot process

This commit is contained in:
Ponali
2025-10-11 09:13:39 +02:00
parent ea074a8f87
commit 33f2573eb6
2 changed files with 4 additions and 11 deletions
+3
View File
@@ -1,5 +1,8 @@
local fs = require("filesystem")
local json = require("json")
if not fs.exists("/halyde/config/shell.json") then -- Auto-generate configs
fs.copy("/halyde/config/generate/shell.json", "/halyde/config/shell.json")
end
local handle, data, tmpdata = fs.open("/halyde/config/shell.json", "r"), "", nil
repeat
tmpdata = handle:read(math.huge)