Advertisement
Commandcracker

OculusOS installer

Jan 24th, 2021 (edited)
841
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.54 KB | None | 0 0
  1. -- https://github.com/Commandcracker/oculusos
  2. if not http then printError("oculusos requires the http API")printError("Set http_enable to true in ComputerCraft.cfg")return end;local function a(b)local c=http.get(b)if c then local d=c.readAll()c.close()return d else print("Failed.")end end;local b="https://raw.githubusercontent.com/Commandcracker/oculusos/master/build/installer.lua"local e={...}local f=a(b)if f then local g,h=load(f,b,"t",_ENV)if not g then printError(h)return end;local i,j=pcall(g,table.unpack(e,1))if not i then printError(j)end end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement