turtles/bootstrap.lua
2020-07-04 13:14:50 +02:00

9 lines
405 B
Lua

-- This is a one line, clipboard friendly installer of gitea.lua
--
-- To install the gitea script
-- * Copy the last line of this file
-- * Open your lua interpreter in the turtle
-- * Paste the line using <C-p>
-- * Hit enter
h=io.open("gitea","w");print("You may run gitea now.");r=http.get("https://gitea.leafbla.de/dominic/turtles/raw/branch/master/gitea.lua");h:write(r.readAll());exit()