made pkgfs auto-mount when loaded

This commit is contained in:
Izaya 2020-06-06 12:50:50 +10:00
parent 97e559f26f
commit f132c2349f

View File

@ -111,4 +111,6 @@ function pkgfs.add(fname,comp) -- string boolean -- -- Add a package as specifie
f:close() f:close()
end end
fs.makeDirectory("/pkg")
fs.mount("/pkg",pkgfs.component)
return pkgfs return pkgfs