Browse Source

improved output for unarchive

master
XeonSquared 1 year ago
parent
commit
b68f1ad9e1
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      tapeloader/unarchive.lua

+ 2
- 1
tapeloader/unarchive.lua View File

@@ -23,6 +23,7 @@ while true do
end
local name = fi:read(nlen)
local fsize = toint(fi:read(2))
io.write(string.format("%s: %d... ",name,fsize))
if not tArgs[2] then
local dir = name:match("(.+)/.*%.?.+")
if (dir) then
@@ -45,6 +46,6 @@ while true do
rsize = rsize - buf:len()
until rsize <= 1
end
print(name,fsize)
print(fsize)
end
fi:close()

Loading…
Cancel
Save