Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --The First Screen
- function titlebar()
- term.setCursorPos(1,1)
- term.setBackgroundColor(colors.blue)
- term.clearLine()
- term.setCursorPos(1,1)
- term.setBackgroundColor(colors.blue)
- print("AdmiOS installer")
- term.setBackgroundColor(colors.lightGray)
- end
- term.setBackgroundColor(colors.lightGray)
- term.clear()
- titlebar()
- term.setCursorPos(8,3)
- term.setTextColor(colors.white)
- if fs.exists("boot") then
- print("Old Files Detected! Removing")
- term.clear()
- term.setCursorPos(30,3)
- shell.run("rm boot")
- shell.run("rm desktop")
- shell.run("rm fman")
- shell.run("rm goodbye")
- shell.run("rm startup")
- shell.run("rm firewolf")
- shell.run("rm sketch")
- shell.run("rm luaide")
- shell.run("rm terminal_starter")
- shell.run("rm uninstall")
- shell.run("rm confirmuninstall")
- shell.run("rm /pics/")
- term.clear()
- titlebar()
- end
- term.setCursorPos(8,3)
- print("Installing!")
- term.setCursorPos(1,10)
- shell.run("pastebin get U9TEf2rV boot")
- shell.run("pastebin get 0zNqbAJj fman")
- shell.run("pastebin get 2NfBgPhJ goodbye")
- shell.run("pastebin get TbSEYbST startup")
- shell.run("pastebin get XKCuFXSh terminal_starter")
- shell.run("pastebin get mQXjVaWa uninstall")
- shell.run("pastebin get w24y4UNK confirmuninstall")
- shell.run("pastebin get BzunbWLf desktop")
- shell.run("pastebin get JupPqepL pics/desktop_bg")
- shell.run("pastebin get HgFvQ0ZU pics/startingup")
- shell.run("pastebin get A7wGH3ty firewolf")
- shell.run("pastebin get vyAZc6tJ luaide")
- shell.run("pastebin get Mm5hd97E sketch")
- term.clear()
- titlebar()
- term.setCursorPos(8,3)
- print("Completely installed! Reboot in 3 sec")
- sleep(3)
- shell.run("goodbye -r")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement