britzl / defold-lfs

LuaFileSystem port to a Defold native extension
MIT License
10 stars 3 forks source link

lfs.currentdir() doesn't work on MacOS #4

Open jalhund opened 1 month ago

jalhund commented 1 month ago

It works if you start using Terminal. But returns // if you start using Finder (double-click in explorer)

Solution: Use defos.get_bundle_root()

britzl commented 1 month ago

I'm not entirely sure what can be done about it to be honest. I don't want to change anything in the lfs code. This extension is supposed to act as a thin wrapper on top of lfs to provide that API to Defold games.