1
0
mirror of https://github.com/kepler155c/opus synced 2024-06-18 11:20:01 +00:00

package manager UI

This commit is contained in:
kepler155c@gmail.com 2018-11-06 17:28:21 -05:00
parent 1a4ef3e581
commit cb03e56a1f

View File

@ -1,7 +1,8 @@
_G.requireInjector(_ENV)
local Config = require('config')
local Util = require('util')
local Config = require('config')
local Packages = require('packages')
local Util = require('util')
local colors = _G.colors
local fs = _G.fs
@ -375,6 +376,10 @@ local function startup()
end
runDir('sys/autorun', shell.run)
for name in pairs(Packages:installed()) do
local packageDir = 'packages/' .. name .. '/autorun'
runDir(packageDir, shell.run)
end
runDir('usr/autorun', shell.run)
if not success then