Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --NoColor installer, by Atenefyr/CodedPixelCube/minimite for ComputerCraft
- if UsingNoColor or term.usingNoColor then
- fs.delete("startup")
- end
- if fs.exists(".startup") then
- fs.delete(".startup")
- end
- if fs.exists("startup") then
- fs.move("startup", ".startup")
- end
- local open = fs.open("startup", "w")
- open.write(http.get("https://raw.githubusercontent.com/cpixelcube/NoColor/master/nocolor.lua").readAll())
- open.close()
- if shell.getRunningProgram() ~= "rom/programs/http/pastebin" then
- fs.delete(shell.getRunningProgram())
- end
- os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement