Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- GuiKit Pastebin Updater/Installer
- term.clear()
- term.setCursorPos(1,1)
- if term.isColor() == true then
- term.setTextColor(colors.gold)
- end
- print("GuiKit Updater/Installer")
- if term.isColor() == true then
- term.setTextColor(colors.white)
- end
- getfile = http.get("https://raw.github.com/AxTo/Kit/master/dist/guiKit.lua")
- print(" Downloaded latest GuiKit build from GitHub.")
- file = fs.open("guiKit", "w")
- file.write(getfile.readAll())
- file.close()
- print(" Saved file.")
- print(" Done!")
- print("Press ENTER to continue...")
- x = read()
- print("Rebooting!")
- sleep(1)
- os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment