Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local files = {
- {id = "EjuiNkDQ", dir = "/sync.lua"},
- {id = "bUpvnJCL", dir = "/syncMaster.lua"},
- {id = "sdjTmtPv", dir = "/lib/monitorUtils.lua"},
- {id = "DY1nFZ8D", dir = "/lib/render.lua"},
- {id = "ZNCRzhZi", dir = "/lib/setupUtils.lua"},
- {id = "dQLciwwm", dir = "/lib/stateHandler.lua"},
- {id = "YfCJ9TpW", dir = "/programs/door.lua"},
- {id = "UZWRZVq7", dir = "/programs/elevator.lua"},
- {id = "2XmmTPqD", dir = "/programs/enderControlMaster.lua"},
- {id = "BRmXHvdD", dir = "/programs/enderControlSlave.lua"},
- {id = "Dfb5xT8X", dir = "/programs/powerControlSlave.lua"},
- {id = "MFJ5GwAq", dir = "/programs/toggle.lua"}
- }
- function install()
- print("# Found " .. #files .. " files")
- print("# Press any key to install\n")
- local event, key = os.pullEvent("key")
- print("# Installing...\n")
- for i, file in pairs(files) do
- print("- " .. file.id)
- shell.run("pastebin get " .. file.id .. " /lua" .. file.dir)
- end
- end
- install()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement