Operating system for OpenComputers
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12 行
239B

  1. local rpcs = require "rpc"
  2. local ufs = require "unionfs"
  3. local tA = {...}
  4. local path = "/"..table.concat(fs.segments(tA[1]),"/")
  5. local px = ufs.create(path)
  6. for k,v in pairs(px) do
  7. rpcs.register(path.."_"..k,v)
  8. print(path.."_"..k)
  9. end