Advertisement
serafim7

MineOS Installer [OpenComputers]

Jul 26th, 2016 (edited)
2,899
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.58 KB | None | 0 0
  1. --opencomputers MineOS
  2. --https://computercraft.ru/topic/2195-mineos/
  3. --https://habrahabr.ru/post/272391/
  4. --https://www.youtube.com/user/EliteClubSessions/videos
  5.  
  6. require("component").eeprom.set([[
  7.   local handle, data, chunk = component.proxy(component.list("internet")()).request("https://raw.githubusercontent.com/IgorTimofeev/MineOS/master/Installer/Main.lua"), ""
  8.   while true do
  9.     chunk = handle.read(math.huge)
  10.     if chunk then
  11.         data = data .. chunk
  12.     else
  13.         break
  14.     end
  15.   end
  16.   handle.close()
  17.   load(data)()
  18. ]])
  19.  
  20. require("computer").shutdown(true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement