Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function downloadFile(path, url)
- print("Downloading: " .. path)
- data = http.get(url).readAll()
- file = assert(io.open(path, "w"))
- file:write(data)
- file:close()
- end
- fs.makeDir("/void/icons")
- fs.makeDir("/void/icons/programs")
- fs.makeDir("/void/monicons")
- fs.makeDir("/void/monicons/programs")
- downloadFile("/void/nick", "https://pastebin.com/raw/8KM6j6EX")
- downloadFile("/void/icons/sms", "https://pastebin.com/raw/njn9KrTY")
- downloadFile("/void/icons/programs/sms", "https://pastebin.com/raw/GweZyjSc")
- downloadFile("/void/void", "https://pastebin.com/raw/Z9d6fqRN")
- downloadFile("/void/wall", "https://pastebin.com/raw/3DNPD9ck")
- --downloadFile("/void/version", "https://raw.github.com/Vilsol/VoidOS/master/void/version") you dont need this now
- downloadFile("/startup", "https://raw.github.com/Vilsol/VoidOS/master/startup")
- downloadFile("/install", "ubkz1b2p")
- os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment