Advertisement
BmanExoni

Untitled

Jun 27th, 2019
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.41 KB | None | 0 0
  1. require("component").eeprom.set([[
  2.     local handle, data, chunk = component.proxy(component.list("internet")()).request("https://raw.githubusercontent.com/dfault-user/LinusMediaGroup-MineOS/master/Installer/Main.lua"), ""
  3.    
  4.     while true do
  5.         chunk = handle.read(math.huge)
  6.         if chunk then
  7.             data = data .. chunk
  8.         else
  9.             break
  10.         end
  11.     end
  12.  
  13.     handle.close()
  14.     load(data)()
  15. ]])
  16.  
  17. require("computer").shutdown(true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement