Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.setTextColor(colors.yellow)
- print("An update is available\ndo you want to install the update?\n(Y/N)\n>")
- term.setTextColor(colors.white)
- term.setCursorPos(3,8)
- yn=io.read()
- if yn == "y" then
- print("installing update...")
- shell.run("pastebin run Ds0sZNNC")
- print("Done !")
- elseif yn == "n" then
- print("canceled reboot to get this prompt again")
- sleep(3)
- end
- shell.run(".CC/kernel")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement