LazerAio

AIOSv7p2-installer.lua

Apr 5th, 2022 (edited)
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. term.clear()
  2. if term.isColor() then
  3. print("INSTALLING AIOSV7p2")
  4. else
  5. print("WARING TERMINAL IS NOT COLOR!")
  6. sleep(1)
  7. end
  8. shell.run("pastebin get wXuzw4Ea startup.lua")
  9. shell.run("mkdir AIOS/")
  10. shell.run("mkdir AIOS/.EXPLORER")
  11. shell.run("mkdir AIOS/.EXPLORER/ICONS/")
  12. shell.run("pastebin get 4ba7VP02 AIOS/.EXPLORER/ICONS/RECYCLE")
  13. shell.run("pastebin get k8NR7DBZ AIOS/.EXPLORER/ICONS/SHOP")
  14. shell.run("pastebin get aANnVZh8 AIOS/.EXPLORER/ICONS/START")
  15. shell.run("pastebin get pBynkNZK AIOS/.EXPLORER/ICONS/WEB")
  16. shell.run("pastebin get eSnMZctx AIOS/.EXPLORER/ICONS/APP")
  17. shell.run("cp AIOS/.EXPLORER/ICONS/APP AIOS/.EXPLORER/BG.nfp")
  18. shell.run("pastebin get 0yU50NMz AIOS/.EXPLORER/ICONS/EXPLORER")
  19. shell.run("pastebin get sXHAFJJk APM")
  20. sleep(1)
  21. shell.run("APM install FM2")
  22. term.clear()
  23. print("Do you want to make a background image now?")
  24. print("[Y / N]")
  25. while true do
  26. E,K = os.pullEvent("key")
  27. if K == string.byte("Y") then
  28. shell.run("paint AIOS/.EXPLORER/BG.nfp")
  29. break
  30. elseif K == string.byte("N") then
  31. break
  32. end
  33. end
  34. term.clear()
  35. print("Rebooting!")
  36. sleep(3)
  37. os.reboot()
  38.  
Add Comment
Please, Sign In to add comment