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
- downloadFile("/void/installer", "https://pastebin.com/raw/s7AvJqLL")
- shell.run("/void/installer")
Advertisement
Add Comment
Please, Sign In to add comment