Advertisement
Guest User

ShadowTurtle

a guest
Aug 1st, 2014
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.81 KB | None | 0 0
  1. -- ShadowSuit installer v0.0.1
  2.  
  3. -- Download programs
  4.  
  5. startDir = shell.dir()
  6.  
  7. print("Installing ShadowSuit v0.0.2")
  8.  
  9. shell.setDir("/")
  10. if fs.exists("/Shadow") == false then
  11.   shell.run("mkdir Shadow")
  12. end
  13.  
  14. shell.setDir("/Shadow")
  15.  
  16. print("Downloading goup")
  17. shell.run("pastebin get 4He8Fm0k goup")
  18.  
  19. print("Downloading godown")
  20. shell.run("pastebin get TPEf9g45 godown")
  21.  
  22. print("Downloading reactor")
  23. shell.run("pastebin get icYGYP6s reactor")
  24.  
  25.  
  26. shell.setDir(startDir)
  27.  
  28. -- Add /Shadow with all of the ShadowSuite programs to the path
  29. print("Add ShadowSuite to the path")
  30. startupFile = fs.open("/startup", "a")
  31. startupFile.write("shell.setPath(shell.path() ..\":/Shadow\" )")
  32. startupFile.close()
  33. shell.setPath(shell.path() .. ":/Shadow")
  34.  
  35. print("ShadowSuite v0.0.2 has been installed successfully!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement