mirror of
https://github.com/kepler155c/opus
synced 2025-01-26 15:16:52 +00:00
package manager UI
This commit is contained in:
parent
1a4ef3e581
commit
cb03e56a1f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user