Elrol

DoorComputer-Installer

Nov 19th, 2019 (edited)
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.54 KB | None | 0 0
  1. --Door Computer Installer
  2. console = "pGhFuMWX"
  3. consoleFile = "console"
  4.  
  5. start = "Ln6eXbAg"
  6. startFile = "startup"
  7.  
  8. function install(link,file)
  9.     if fs.exist(file) then
  10.         fs.delete(file)
  11.         shell.run("pastebin", "get", link, file)
  12.         print("Updated "..file)
  13.     else
  14.         shell.run("pastebin", "get", link, file)
  15.         print("Installed "..file)
  16.     end
  17. end
  18.  
  19. install(console, consoleFile)
  20. install(start, startFile)
  21.  
  22. print("Files Downloaded and installed. Make sure to set the variables in startup, then restart")
Add Comment
Please, Sign In to add comment