alignment update

This commit is contained in:
kepler155c@gmail.com
2019-03-06 11:48:09 -05:00
parent 7a57d74e68
commit ce9ffa6c3a
4 changed files with 53 additions and 35 deletions

View File

@@ -18,12 +18,12 @@ for name in pairs(Packages:installed()) do
local packageDir = fs.combine('packages', name)
table.insert(appPaths, 1, packageDir)
local apiPath = fs.combine(fs.combine('packages', name), 'apis')
local apiPath = fs.combine(packageDir, 'apis')
if fs.exists(apiPath) then
fs.mount(fs.combine('sys/apis', name), 'linkfs', apiPath)
end
local helpPath = '/' .. fs.combine(fs.combine('packages', name), 'help')
local helpPath = '/' .. fs.combine(packageDir, 'help')
if fs.exists(helpPath) then
table.insert(helpPaths, helpPath)
end