improvshark

core_turtleTools_installer

Mar 27th, 2015
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.83 KB | None | 0 0
  1. -- check for gitget if dont have download gitget
  2. -- pastebin get Y19Ufy61 installer
  3. if fs.exists("gitget") == false then
  4.     shell.run('pastebin', 'get', 'W5ZkVYSi ', '/gitget')
  5. end
  6.  
  7.  
  8. shell.run('/gitget', 'improvshark', 'core', 'master', '/core')
  9.  
  10.  
  11. if fs.exists("/startup") then
  12.     fs.delete("/startup")
  13. end
  14.  
  15. shell.run('pastebin', 'get', 'F0HtmrGY', '/startup')
  16.  
  17. shell.run('mkdir', '/user')
  18. shell.run('mkdir', '/user/apis')
  19.  
  20. shell.run('mkdir', '/user/programs')
  21.  
  22. fs.delete("/gitget")
  23. fs.delete("/json")
  24.  
  25. fs.delete("/installer")
  26.  
  27.  
  28.  
  29. print("loading core programs")
  30. shell.setPath(shell.path() .. ':/core/system/core_programs')
  31.  
  32. print("loading core apis")
  33. if shell.run('api', 'load','/core/system/core_apis') == false then
  34.     print("failed to load apis")
  35. end
  36.  
  37.  
  38. shell.run("module", 'install', 'turtleTools')
  39.  
  40. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment