fix neural api location

This commit is contained in:
kepler155c@gmail.com
2019-02-07 22:14:32 -05:00
parent e537922e46
commit af85d0aafb
5 changed files with 3 additions and 11 deletions

View File

@@ -1,6 +1,7 @@
if not _G.requireInjector then
_ENV.LUA_PATH='https://raw.githubusercontent.com/kepler155c/opus/develop-1.8/sys/apis'
load(_G.http.get(_ENV.LUA_PATH .. '/injector.lua').readAll())()(_ENV)
local BASE ='https://raw.githubusercontent.com/kepler155c/opus/develop-1.8/sys/apis'
_ENV.LUA_PATH=BASE .. '/?.lua'
load(_G.http.get(_ENV.LUA_PATH .. '/injector.lua').readAll())()(_ENV)
end
local Terminal = require('terminal')
@@ -366,15 +367,6 @@ function multishell.openTab(tabInfo)
return process.uid
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)
Util.removeByValue(processes, process)
process.container.canvas:removeLayer()