fix neural api location
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
if not _G.requireInjector then
|
if not _G.requireInjector then
|
||||||
_ENV.LUA_PATH='https://raw.githubusercontent.com/kepler155c/opus/develop-1.8/sys/apis'
|
local BASE ='https://raw.githubusercontent.com/kepler155c/opus/develop-1.8/sys/apis'
|
||||||
load(_G.http.get(_ENV.LUA_PATH .. '/injector.lua').readAll())()(_ENV)
|
_ENV.LUA_PATH=BASE .. '/?.lua'
|
||||||
|
load(_G.http.get(_ENV.LUA_PATH .. '/injector.lua').readAll())()(_ENV)
|
||||||
end
|
end
|
||||||
|
|
||||||
local Terminal = require('terminal')
|
local Terminal = require('terminal')
|
||||||
@@ -366,15 +367,6 @@ function multishell.openTab(tabInfo)
|
|||||||
return process.uid
|
return process.uid
|
||||||
end
|
end
|
||||||
|
|
||||||
function multishell.restack() -- reset the stacking order
|
|
||||||
for k,v in ipairs(processes) do
|
|
||||||
v.container.canvas.layers = { }
|
|
||||||
for l = k + 1, #processes do
|
|
||||||
table.insert(v.container.canvas.layers, processes[l].container.canvas)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
function multishell.removeProcess(process)
|
function multishell.removeProcess(process)
|
||||||
Util.removeByValue(processes, process)
|
Util.removeByValue(processes, process)
|
||||||
process.container.canvas:removeLayer()
|
process.container.canvas:removeLayer()
|
||||||
|
|||||||
Reference in New Issue
Block a user