MinePossu

config

Apr 20th, 2017
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. function downloadFile(path, url)
  2.     print("Downloading: " .. path)
  3.     data = http.get(url).readAll()
  4.     file = assert(io.open(path, "w"))
  5.     file:write(data)
  6.     file:close()
  7. end
  8. downloadFile("/void/installer", "https://pastebin.com/raw/s7AvJqLL")
  9. shell.run("/void/installer")
Advertisement
Add Comment
Please, Sign In to add comment