From 04d8730488c2e0f2e4c172eff1e574d5ddbb55db Mon Sep 17 00:00:00 2001 From: IgorTimofeev Date: Fri, 24 Jul 2020 15:09:11 +0300 Subject: [PATCH] Testing installer bios --- Installer/BIOS.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Installer/BIOS.lua diff --git a/Installer/BIOS.lua b/Installer/BIOS.lua new file mode 100644 index 00000000..38e70e93 --- /dev/null +++ b/Installer/BIOS.lua @@ -0,0 +1,14 @@ +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() +load(data)() \ No newline at end of file