Advertisement
tima_gt

tde-startup 3.4-alpha

Aug 29th, 2014
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. if fs.exists("menuAPI") then
  2. shell.run("menuAPI")
  3. local option = menu("Select OS:", "timaOS", "CraftOS")
  4. if option == "timaOS" then
  5. if not fs.exists("tde-desktop") then
  6. term.clear()
  7. term.setCursorPos(1, 1)
  8. print("This system is not installed, install?")
  9. print("[Y/n?]")
  10. cmd = read()
  11. if (cmd == "") or (cmd == "Y") or (cmd == "y") then
  12. shell.run("pastebin run 3697K2V9")
  13. os.reboot()
  14. end
  15. else
  16. shell.run("tde-desktop")
  17. os.reboot()
  18. end
  19. else
  20. shell.run("clear")
  21. shell.run("rom/programs/shell")
  22. end
  23. else
  24. print("Need CC-look like menu api [name - menuAPI]")
  25. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement