Use lfs.currentdir() to get default root_dir as an absolute path
This commit is contained in:
1 parent
48d6020930
commit
04ebaf0964
1 file changed
+1
-1
@@ -7,7 +7,7 @@ FileManager = InputContainer:extend{
|
||||
title = _("FileManager"),
|
||||
width = Screen:getWidth(),
|
||||
height = Screen:getHeight(),
|
||||
root_path = './',
|
||||
root_path = lfs.currentdir(),
|
||||
-- our own size
|
||||
dimen = Geom:new{ w = 400, h = 600 },
|
||||
onExit = function() end,
|
||||
|
||||
Reference in new issue
Block a user