diff --git a/monitor/mwm.lua b/monitor/mwm.lua index 75ff4a1..babc860 100644 --- a/monitor/mwm.lua +++ b/monitor/mwm.lua @@ -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() diff --git a/neural/apis/neural/angle.lua b/neural/apis/angle.lua similarity index 100% rename from neural/apis/neural/angle.lua rename to neural/apis/angle.lua diff --git a/neural/apis/neural/interface.lua b/neural/apis/interface.lua similarity index 100% rename from neural/apis/neural/interface.lua rename to neural/apis/interface.lua diff --git a/neural/apis/neural/mobs.lua b/neural/apis/mobs.lua similarity index 100% rename from neural/apis/neural/mobs.lua rename to neural/apis/mobs.lua diff --git a/neural/apis/neural/project.lua b/neural/apis/project.lua similarity index 100% rename from neural/apis/neural/project.lua rename to neural/apis/project.lua