mirror of
https://github.com/20kdc/OC-KittenOS.git
synced 2024-11-08 11:38:07 +11:00
18 lines
334 B
Lua
18 lines
334 B
Lua
|
local merges = {...}
|
||
|
neo = {
|
||
|
wrapMeta = function (x)
|
||
|
return x
|
||
|
end
|
||
|
}
|
||
|
local serial = loadfile("code/libs/serial.lua")()
|
||
|
local repo = {}
|
||
|
for _, v in ipairs(merges) do
|
||
|
local f = io.open(v, "rb")
|
||
|
local fd = f:read("*a")
|
||
|
f:close()
|
||
|
for k, v in pairs(serial.deserialize(fd)) do
|
||
|
repo[k] = v
|
||
|
end
|
||
|
end
|
||
|
io.write(serial.serialize(repo))
|