Advertisement
MoHoLiT228

Untitled

Mar 31st, 2020
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.45 KB | None | 0 0
  1. require("component").eeprom.set([[
  2.     local handle, data, chunk = component.proxy(component.list("internet")()).request("https://raw.githubusercontent.com/MoHoLiT228/Main.lua/master/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