If i tried save file in any directory i got this error:
Error: lib/slab/Internal/Core/FileSystem.lua:277: /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2: undefined symbol: stat64
stack traceback:
[string "boot.lua"]:777: in function <[string "boot.lua"]:773>
[C]: in function '__index'
lib/slab/Internal/Core/FileSystem.lua:277: in function 'IsDirectory'
lib/slab/Internal/UI/Dialog.lua:564: in function 'FileDialog'
main.lua:216: in function 'update'
[string "boot.lua"]:612: in function <[string "boot.lua"]:594>
[C]: in function 'xpcall'
Slab master branch
save dialog code:
local result = slab.FileDialog({Type = "savefile"})
if result.Button == "OK" then
windows.saveDialog = false
savepath = result.Files[1]
end
if result.Button == "Cancel" then
windows.saveDialog = false
end
If i tried save file in any directory i got this error:
Slab master branch save dialog code: