MineOS/Installer/BIOS.lua
2021-04-17 18:36:19 +08:00

18 lines
393 B
Lua

local handle, data, chunk = component.proxy(component.list("internet")()).request("https://raw.githubusercontent.com/IgorTimofeev/MineOS/master/Installer/Main.lua"), ""
while true do
chunk = handle.read(math.huge)
if chunk then
data = data .. chunk
else
break
end
end
handle.close()
local success,reason=xpcall(load(data),debug.traceback)
if not success then
error(reason)
end