kd8lvt

installer

Dec 24th, 2020 (edited)
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. function download(url)
  2. res = http.get("http://kd.funniray.com/files/quarryInstaller/"..url)
  3. file = fs.open(url,"w")
  4. file.write(res.readAll())
  5. res.close()
  6. file.close()
  7. end
  8.  
  9. download("quarry.lua")
  10. download("name.lua")
  11. download("quarrySettings")
  12. download("startup.lua")
  13. shell.run("name")
  14. shell.run("quarry -file quarrySettings")
Advertisement
Add Comment
Please, Sign In to add comment