Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shell.run("mkdir .temp")
- term.setTextColor(colors.yellow)
- term.clear()
- term.setCursorPos(1,1)
- term.write("CatOS 0.1 (Temp Boot)")
- term.setTextColor(colors.white)
- term.setCursorPos(1,2)
- term.write("> ")
- --start
- apprun = io.read()
- if apprun == "exit" then
- shell.run("delete .temp")
- os.shutdown()
- elseif apprun == "reboot" then
- shell.run("delete .temp")
- os.reboot()
- elseif apprun == "files" then
- shell.run("pastebin run 10Uh9w0f")
- elseif apprun == "edit" then
- shell.run("pastebin run guNvJcZ9")
- elseif apprun == "format" then
- shell.run("pastebin run s41wJP5i")
- elseif apprun == "install" then
- shell.run("disk/install")
- elseif apprun == "getcatos" then
- shell.run("pastebin run b7K8etp2")
- elseif apprun == "shell" then
- shell.run("cd .temp")
- print("CraftOS > ")
- shellcomd = io.read()
- shell.run(shellcomd)
- elseif apprun == "getpaste" then
- shell.run("cd .temp")
- print("PASTEBIN CODE > ")
- pastenum = io.read()
- shell.run("pastebin run ",pastenum)
- else shell.run("pastebin run Gd3ykMDz")
- end
- --end
Add Comment
Please, Sign In to add comment