mirror of
https://github.com/kepler155c/opus
synced 2025-10-16 00:07:39 +00:00
better startup
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
local parentShell = shell
|
||||
|
||||
local shell = { }
|
||||
local multishell = multishell or { }
|
||||
|
||||
local sandboxEnv = setmetatable({ }, { __index = _G })
|
||||
for k,v in pairs(getfenv(1)) do
|
||||
sandboxEnv[k] = v
|
||||
end
|
||||
sandboxEnv.shell = shell
|
||||
sandboxEnv.multishell = multishell or { }
|
||||
sandboxEnv.multishell = multishell
|
||||
|
||||
requireInjector(getfenv(1))
|
||||
|
||||
|
Reference in New Issue
Block a user