Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local fh = http.get("https://github.com/ComputerCraftTeam/COS/raw/stable/bin/install.lua")
- if fh then
- local file = fs.open("/install", "w")
- file.write(fh.readAll())
- file.close()
- shell.run("install")
- fs.delete("install")
- os.reboot()
- else
- error("Failed to load")
- end
Advertisement
Add Comment
Please, Sign In to add comment