Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Easy Installer for computercraft-github by Eric Wieser
- -- https://github.com/eric-wieser/computercraft-github
- local tree = select(1,...) or 'master'
- local url = ('https://raw.githubusercontent.com/eric-wieser/computercraft-github/%s'):format(tree)
- local response = assert(http.get(url..'/bootstrap.lua'), "Could not connect to github").readAll()
- setfenv(loadstring(response, 'bootstrap.lua'), getfenv())(url)
Advertisement
Add Comment
Please, Sign In to add comment