path fix + compat changes

This commit is contained in:
kepler155c@gmail.com
2019-07-20 16:23:48 -06:00
parent 09be81be27
commit 30b7199976
4 changed files with 6 additions and 7 deletions

View File

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