Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local GIT_REPO = 'kepler155c/opus/master-1.8'
- local BASE = 'https://raw.githubusercontent.com/' .. GIT_REPO
- local function dourl(url, ...)
- local env = setmetatable({ }, { __index = _G })
- for k,v in pairs(getfenv(1)) do
- env[k] = v
- end
- local h = http.get(url)
- if h then
- local fn, m = load(h.readAll(), url, nil, env)
- h.close()
- if fn then
- return fn(...)
- end
- end
- error('Failed to download ' .. url)
- end
- dourl(BASE .. '/sys/boot/multishell.boot', ...)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement