Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Download File
- Written by TheShadow989
- ]]--
- file = { "startup", "back", ".menu", "xos/.usertable", "xos/.browser", "xos/.command", "xos/.accounts", "xos/.addaccounts", "xos/.removeaccounts", "xos/.firsttime", "xos/.programs", "xos/.details", "xos/api/sha256" }
- link = { "KzPTUk1P", "HbePS1MV", "gyMa4EKw", "1eUETTRe", "0jQGz4R3", "muafEtGW", "9gq5ehU9", "GUceYKJ8", "PXb14tuS", "y2XBCgyH", "UbFvt8ez", "vndFSzNA" , "cHmYHP6E"}
- term.clear()
- local function kPrint(string)
- x, _ = term.getSize()
- _, y = term.getCursorPos()
- term.setCursorPos((x-#string)/2,y)
- print(string)
- end
- term.setCursorPos(1,2)
- kPrint("xOS Installer")
- sleep(1)
- term.setCursorPos(1,9)
- kPrint("Downloading...")
- term.setCursorPos(1,10)
- kPrint("[ ]")
- for i=1, 13 do
- term.setCursorPos(5,14)
- shell.run("pastebin get "..link[i].." "..file[i].."")
- term.setCursorPos(1,15)
- term.clearLine()
- term.setCursorPos(1,14)
- term.clearLine()
- kPrint(""..file[i].." Downloaded")
- term.setCursorPos(18 + i,10)
- write("#")
- sleep(0.1)
- end
- sleep(2)
- os.reboot()
Add Comment
Please, Sign In to add comment