1
0
mirror of https://github.com/kepler155c/opus synced 2025-11-22 18:14:55 +00:00

move apis into rom/modules/main for shell compatibility

This commit is contained in:
kepler155c@gmail.com
2019-06-28 13:50:02 -04:00
parent c3d52c1aab
commit 343ce7fdc2
135 changed files with 297 additions and 289 deletions

View File

@@ -13,8 +13,8 @@ sandboxEnv.shell = shell
_G.requireInjector(_ENV)
local trace = require('trace')
local Util = require('util')
local trace = require('opus.trace')
local Util = require('opus.util')
local DIR = (parentShell and parentShell.dir()) or ""
local PATH = (parentShell and parentShell.path()) or ".:/rom/programs"
@@ -358,12 +358,12 @@ if #tArgs > 0 then
return run(env, ...)
end
local Config = require('config')
local Entry = require('entry')
local History = require('history')
local Input = require('input')
local Sound = require('sound')
local Terminal = require('terminal')
local Config = require('opus.config')
local Entry = require('opus.entry')
local History = require('opus.history')
local Input = require('opus.input')
local Sound = require('opus.sound')
local Terminal = require('opus.terminal')
local colors = _G.colors
local os = _G.os