package manager

This commit is contained in:
kepler155c@gmail.com
2018-11-04 13:00:37 -05:00
parent 67be1e0f2f
commit 99b2fa1b0b
7 changed files with 132 additions and 43 deletions

View File

@@ -34,8 +34,7 @@ function Packages:isInstalled(package)
end
function Packages:getManifest(package)
-- local fname = 'packages/' .. package .. '/.package'
local fname = 'usr/milo/.package'
local fname = 'packages/' .. package .. '/.package'
if fs.exists(fname) then
return Util.readTable(fname)
end