Files
HyperionOS/install.lua
T
2026-08-14 20:44:11 -04:00

15 lines
400 B
Lua

local args={...}
local bootstrap=""
if args[1]=="cct" then
print("installing cct")
local function get(url)
local resp=http.get(url)
return resp.readAll()
end
bootstrap=get("https://git.astronand.dev/Hyperion/HyperionOS/raw/branch/main/bootstrap/cct-bootstrap.lua")
else
error("Unsupported architecture")
end
local func=load(bootstrap,"@Bootstrap", "t", _G)
func()