mirror of
https://github.com/kepler155c/opus
synced 2025-02-04 19:29:11 +00:00
package manager UI
This commit is contained in:
parent
1a4ef3e581
commit
cb03e56a1f
@ -1,7 +1,8 @@
|
|||||||
_G.requireInjector(_ENV)
|
_G.requireInjector(_ENV)
|
||||||
|
|
||||||
local Config = require('config')
|
local Config = require('config')
|
||||||
local Util = require('util')
|
local Packages = require('packages')
|
||||||
|
local Util = require('util')
|
||||||
|
|
||||||
local colors = _G.colors
|
local colors = _G.colors
|
||||||
local fs = _G.fs
|
local fs = _G.fs
|
||||||
@ -375,6 +376,10 @@ local function startup()
|
|||||||
end
|
end
|
||||||
|
|
||||||
runDir('sys/autorun', shell.run)
|
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)
|
runDir('usr/autorun', shell.run)
|
||||||
|
|
||||||
if not success then
|
if not success then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user