mirror of
https://github.com/kepler155c/opus
synced 2025-12-12 19:38:05 +00:00
extended file listing
This commit is contained in:
@@ -204,7 +204,7 @@ function Browser:updateDirectory(dir)
|
||||
dir.totalSize = 0
|
||||
Util.clear(dir.files)
|
||||
|
||||
local files = fs.list(dir.name, true)
|
||||
local files = fs.listEx(dir.name)
|
||||
if files then
|
||||
dir.size = #files
|
||||
for _, file in pairs(files) do
|
||||
|
||||
@@ -67,7 +67,7 @@ while true do
|
||||
|
||||
while true do
|
||||
local e = Event.pullEvent()
|
||||
if e == 'terminate' then
|
||||
if e[1] == 'terminate' then
|
||||
break
|
||||
end
|
||||
if not socket.connected then
|
||||
|
||||
Reference in New Issue
Block a user