Advertisement
Marlingaming

CC Tweaked CCSPS Iron - Install Handler

Jan 27th, 2022
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. --this is used to install all items that arent installed at first start
  2. local tArg = {...}
  3. local Path = tArg[1]
  4. local Code = tArg[2]
  5. local Type = tArg[3]
  6. settings.load(".settings")
  7.  
  8. if Type == "Client" then
  9. shell.run(settings.get("ClientAppInstaller"),Path,Code,tArg[4])
  10. elseif Type == "Extension" then
  11. shell.run(settings.get("osPaster"),Code,Path)
  12. else
  13. shell.run(settings.get("osPaster"),Code,Path)
  14. end
  15.  
  16. shell.run("os/System/Security/Scripts/FileScan",Path)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement