Browse Source

improved output for unarchive

master
Izaya 2 years ago
parent
commit
b68f1ad9e1
  1. 3
      tapeloader/unarchive.lua

3
tapeloader/unarchive.lua

@ -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