hunter3216

mixerInstaller.lua

Mar 24th, 2023 (edited)
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. -- shell.run("rm mixerInstaller.lua") shell.run("pastebin get dCSnwFwY mixerInstaller.lua") shell.run("mixerInstaller.lua")
  2.  
  3. local function getDeviceType()
  4. if turtle then
  5. return "turtle"
  6. elseif pocket then
  7. return "pocket"
  8. elseif commands then
  9. return "command_computer"
  10. else
  11. return "computer"
  12. end
  13. end
  14. local dt = getDeviceType()
  15.  
  16. -- Get new loadAPIs.lua
  17. shell.run("rm loadAPIs.lua")
  18. shell.run("pastebin get 6x0B3PVu loadAPIs.lua")
  19. shell.run("loadAPIs.lua")
  20.  
  21. if dt == "turtle" then
  22. shell.run("rm mixerBoi.lua")
  23. shell.run("pastebin get 0UraU1AP mixerBoi.lua")
  24. shell.run("mixerBoi.lua")
  25. elseif dt == "computer" then
  26. shell.run("rm mixerDude.lua")
  27. shell.run("pastebin get FV0GEAQv mixerDude.lua")
  28. shell.run("mixerDude.lua")
  29. end
Advertisement
Add Comment
Please, Sign In to add comment