serafim7

Информационная панель Fork ECS [OpenComputers]

Dec 23rd, 2020 (edited)
479
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.13 KB | None | 0 0
  1. --https://computercraft.ru/topic/1275-informatsionnaya-panel/
  2. --http://i75.fastpic.ru/big/2015/1124/60/a5dfc1605595b9d5a4cf35389e739260.png
  3. --https://www.youtube.com/watch?v=4O0AFlQgQhg
  4.  
  5. local applications = {
  6.   {"serafim77/Info-Panel-ECS-Fork/master/info.lua", "info.lua"},
  7.   {"serafim77/Info-Panel-ECS-Fork/master/image.lua", "image.lua"},
  8.   {"serafim77/Info-Panel-ECS-Fork/master/color.lua", "color.lua"},
  9.   {"serafim77/Info-Panel-ECS-Fork/master/OCIF.lua", "OCIF.lua"},
  10.   {"serafim77/Info-Panel-ECS-Fork/master/Pages/Claims.txt", "Pages/Claims.txt"},
  11.   {"serafim77/Info-Panel-ECS-Fork/master/Pages/Main.txt", "Pages/Main.txt"},
  12.   {"serafim77/Info-Panel-ECS-Fork/master/Pages/Rules.txt", "Pages/Rules.txt"},
  13.   {"serafim77/Info-Panel-ECS-Fork/master/Pages/SSPI.txt", "Pages/SSPI.txt"},
  14.   {"serafim77/Info-Panel-ECS-Fork/master/test_image.lua", "test_image.lua"}
  15. }
  16.  
  17. print("создаю папку Pages")
  18. os.execute("md Pages")
  19.  
  20. for i = 1, #applications do
  21.   print("Скачиваю "..applications[i][2])
  22.   os.execute("wget ".."https://raw.githubusercontent.com/"..applications[i][1].." "..applications[i][2].." -fQ")
  23.   os.sleep(0.1)
  24. end
Add Comment
Please, Sign In to add comment