|
|
@ -104,12 +104,12 @@ function core.init() |
|
|
|
if file then |
|
|
|
if file then |
|
|
|
local last_dir = file:read() |
|
|
|
local last_dir = file:read() |
|
|
|
file:close() |
|
|
|
file:close() |
|
|
|
if last_dir then |
|
|
|
if last_dir then |
|
|
|
info = system.get_file_info(last_dir) |
|
|
|
info = system.get_file_info(last_dir) |
|
|
|
if info and info.type == "dir" then |
|
|
|
if info and info.type == "dir" then |
|
|
|
project_dir = last_dir |
|
|
|
project_dir = last_dir |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|