Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require("libraries.asshat")
- function removeArquivos()
- print("Removing all files from disk...")
- if not shell.run("rm", "./disk/*") then
- printCor("Failed to remove files.", colors.red)
- os.exit()
- end
- end
- function copiaProgramas()
- print("Copying native programs...")
- if not shell.run("cp", "./*.lua", "./disk") then
- printCor("Failed to copy programs.", colors.red)
- os.exit()
- end
- end
- function copiaBibliotecas()
- print("Copying libraries...")
- if not shell.run("cp", "./libraries", "./disk") then
- printCor("Failed to copy libraries.", colors.red)
- os.exit()
- end
- end
- removeArquivos()
- copiaProgramas()
- copiaBibliotecas()
- printCor("Success!", colors.green)
Add Comment
Please, Sign In to add comment