Advertisement
lylythechosenone

lytim installer

Mar 9th, 2019
460
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.55 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos(1,1)
  3. local startup = http.get("https://raw.githubusercontent.com/l-7777777/lytim/master/startup.lua")
  4. local progressbar = http.get("https://raw.githubusercontent.com/l-7777777/lytim/master/dependencies/progressbar.lua")
  5. local startupf = fs.open("startup", "w")
  6. local progressbarf = fs.open("progressbar", "w")
  7. startupf.write(startup.readAll())
  8. progressbarf.write(progressbar.readAll())
  9. startupf.close()
  10. progressbarf.close()
  11. print("installing lytim")
  12. dofile("progressbar")
  13. print("rebooting...")
  14. sleep(1)
  15. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement