print("Download OS?")
print("This will remove current startup files!")
print("Y/N")
local answer = io.read()
if answer == "Y" or "y" then
shell.run("delete startup")
print("Downloading UI")
shell.run("pastebin get ZXQYB6uT os/ui")
print("Downloading Apps")
shell.run("pastebin get 1NRE1zdq os/apps")
print("Downloading main OS")
shell.run("pastebin get JngeJTk2 os/desktop")
print("Downloading startup")
shell.run("pastebin get Vi6GyLDm startup")
print("Main OS finished installing games:")
sleep(1)
print("Installing 2048")
shell.run("pastebin get ZvSdaYnp os/games/2048")
print("Installing Breakout")
shell.run("pastebin get NSJ7AJ7r os/games/breakout")
print("Installing Minesweeper")
shell.run("pastebin get vqnbt3UP os/games/minesweeper")
print("Installing Pong")
shell.run("pastebin get gaW1yvQ6 os/games/pong")
print("Installing Snake")
shell.run("pastebin get 8mwrRq3H os/games/snake")
print("Installing Tetris")
shell.run("pastebin get Vj6ERfup os/games/tetris")
print("Finished installing games")
sleep(1)
print("Rebooting")
sleep(2)
shell.run("reboot")
else
print("Stopping setup")
end