Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if fs.exists("menuAPI") then
- shell.run("menuAPI")
- local option = menu("Select OS:", "timaOS", "CraftOS")
- if option == "timaOS" then
- if not fs.exists("tde-desktop") then
- term.clear()
- term.setCursorPos(1, 1)
- print("This system is not installed, install?")
- print("[Y/n?]")
- cmd = read()
- if (cmd == "") or (cmd == "Y") or (cmd == "y") then
- shell.run("pastebin run 3697K2V9")
- os.reboot()
- end
- else
- shell.run("tde-desktop")
- os.reboot()
- end
- else
- shell.run("clear")
- shell.run("rom/programs/shell")
- end
- else
- print("Need CC-look like menu api [name - menuAPI]")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement