Advertisement
MightBeBlitz

CC git repo cloner setup

May 1st, 2022
2,013
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Easy Installer for computercraft-github by Eric Wieser
  2. -- https://github.com/eric-wieser/computercraft-github
  3. local tree = select(1,...)
  4. if not tree then
  5.   tree = 'master'
  6. end
  7. local url = ('https://raw.githubusercontent.com/eric-wieser/computercraft-github/%s'):format(tree)
  8. local response = http.get(url..'/install.lua').readAll()
  9. loadstring(response)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement