lpenap

TESTING - do not use this yet!

Sep 21st, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. local tree = select(1,...)
  2. if not tree then
  3. tree = 'develop'
  4. end
  5. print ("Bootstrapped installer for Redstone Control Client Program")
  6. print ("Going to fetch installer from " .. tree .. " tree")
  7. local url = ('https://raw.githubusercontent.com/lpenap/computercraft-redstone-control/%s'):format(tree)
  8. local response = http.get(url..'/src/install-scripts/client-install.lua').readAll()
  9. if response == nil then
  10. print ("Error while fetching installer from github")
  11. else
  12. print ("Executing installer...")
  13. loadstring(response)()
  14. end
Advertisement
Add Comment
Please, Sign In to add comment