Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tree = select(1,...)
- if not tree then
- tree = 'develop'
- end
- print ("Bootstrapped installer for Redstone Control Client Program")
- print ("Going to fetch installer from " .. tree .. " tree")
- local url = ('https://raw.githubusercontent.com/lpenap/computercraft-redstone-control/%s'):format(tree)
- local response = http.get(url..'/src/install-scripts/client-install.lua').readAll()
- if response == nil then
- print ("Error while fetching installer from github")
- else
- print ("Executing installer...")
- loadstring(response)()
- end
Advertisement
Add Comment
Please, Sign In to add comment