Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if not http then printError("HTTP not enabled") return end
- local remote = http.get("https://raw.github.com/jordyvl/VLWARE-OS/master/src/vlware/update.lua")
- if not remote then return end
- local file = fs.open(".update", "w") file.write(remote.readAll()) file.close() remote.close() shell.run("/.update")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement