Browse Source

made pkgfs auto-mount when loaded

master
XeonSquared 4 years ago
parent
commit
f132c2349f
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      lib/pkgfs.lua

+ 2
- 0
lib/pkgfs.lua View File

@@ -111,4 +111,6 @@ function pkgfs.add(fname,comp) -- string boolean -- -- Add a package as specifie
f:close()
end

fs.makeDirectory("/pkg")
fs.mount("/pkg",pkgfs.component)
return pkgfs

Loading…
Cancel
Save