Laine_prikol

InstallerRedBoardControl2

Apr 30th, 2016
152
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local term = require("term")
  2. local shell = require("shell")
  3. local computer = require("computer")
  4. local component = require("component")
  5. local internet = require("internet")
  6. local os = require("os")
  7. local result, response = pcall(internet.request, "http://syperdompic.000webhostapp.com/stats/service.php?programstart=1&program=RedboardControl2")
  8. local gpu = component.gpu
  9. term.clear()
  10. print("CHECKING SYSTEM")
  11. if gpu.maxResolution() == 80 then
  12. print("Всё, нормальный комп продолжаем")
  13. print("Копирование файлов!")
  14. os.execute("pastebin get sRCWPpuy redcontrol")
  15. os.execute("pastebin get iKzRve2g lib/forms.lua")
  16. print("Всё готово!")
  17. else
  18. print("Меняй видеокарту и экран на 2 уровень")
  19. end
RAW Paste Data