daandecomputer

DaanOs (Beta)

Jan 4th, 2019
1,849
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.50 KB | None | 0 0
  1. shell.run("label set DaanOS")
  2. local function store()
  3. shell.run("store")
  4. end
  5. local function update()
  6. print("(Auto Updater) Updating...")
  7. shell.run("delete update")
  8. shell.run("delete store")
  9. shell.run("delete shutdown")
  10. shell.run("delete reboot")
  11. shell.run("delete home")
  12. shell.run("delete files")
  13. shell.run("delete clear")
  14. shell.run("delete Logo")
  15. shell.run("delete menu")
  16. shell.run("delete startup")
  17. shell.run("delete login")
  18. shell.run("delete nboot")
  19. shell.run("delete sboot")
  20. shell.run("pastebin get Yk0Hd3D3 login")
  21. shell.run("pastebin get yaPDL4VX startup")
  22. shell.run("pastebin get NsJN92YM update")
  23. shell.run("pastebin get 5sZSKwDj nboot")
  24. shell.run("pastebin get XAxcgFXn sboot")
  25.  
  26. term.clear()
  27. shell.run("pastebin get t5Tgu9kA store")
  28. term.clear()
  29. term.setCursorPos(1,1)
  30. term.clear()
  31. term.setCursorPos(1,1)
  32. shell.run("pastebin get k2NrXEJC reboot")
  33. term.clear()
  34. term.setCursorPos(1,1)
  35. shell.run("pastebin get Yke4FFFL shutdown")
  36. term.clear()
  37. term.setCursorPos(1,1)
  38. shell.run("pastebin get Vu87T7P0 home")
  39. term.clear()
  40. term.setCursorPos(1,1)
  41. shell.run("pastebin get cjuygP7X games")
  42. term.clear()
  43. term.setCursorPos(1,1)
  44. shell.run("pastebin get NXmau9pd files")
  45. term.clear()
  46. term.setCursorPos(1,1)
  47. shell.run("pastebin get QXHngQV7 Logo")
  48. term.clear()
  49. term.setCursorPos(1,1)
  50. shell.run("pastebin get BsAjSbBF menu")
  51. term.clear()
  52. print("(Auto Updater) Done!")
  53. end
  54. local function setup()
  55. term.clear()
  56. term.setCursorPos(1,1)
  57. end
  58. print("DaanOS BootLoader")
  59. sleep(1)
  60. term.clear()
  61. term.setCursorPos(1,1)
  62. setup()
  63. update()
  64. shell.run("login")
Add Comment
Please, Sign In to add comment