Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- projectLinks = {
- ["setup"] = "http://pastebin.com/raw/k7WV7P74",
- ["location"] = "https://raw.githubusercontent.com/lyqyd/location/master/location",
- ["projects/turbine"] = "https://raw.githubusercontent.com/lyqyd/cc-generalized-setup/master/projects/demosthenex-turbine",
- ["projects/dome13"] = "https://raw.githubusercontent.com/lyqyd/cc-generalized-setup/master/projects/dome13",
- ["projects/gps"] = "https://raw.githubusercontent.com/lyqyd/cc-generalized-setup/master/projects/gpssatellite",
- ["projects/house"] = "https://raw.githubusercontent.com/lyqyd/cc-generalized-setup/master/projects/lyqyd-house",
- ["projects/treefarm"] = "https://raw.githubusercontent.com/lyqyd/cc-generalized-setup/master/projects/treefarm",
- }
- if not fs.exists("projects") then
- fs.makeDir("projects")
- end
- for i,v in pairs(projectLinks) do
- local file = http.get(v)
- local h = fs.open(i,"w")
- h.write(file.readAll())
- h.close()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement