Advertisement
cyber_Ahn

CytekStatusScreen installer

Dec 6th, 2016 (edited)
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. function download(url, file)
  2.   local content = http.get(url).readAll()
  3.   if not content then
  4.     error("Could not connect to website")
  5.   end
  6.   f = fs.open(file, "w")
  7.   f.write(content)
  8.   f.close()
  9. end
  10. shell.run("rm"..programName)
  11. shell.run("delete "..programName)
  12. download("http://caworks-sl.de/data/download/mc/programms/cytekStatusScreen.lua", "cytek")
  13. shell.run(programName)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement