Time Nick Message 13:21 wrrrzr SFENCE: Can you check my pr on mac? #16092 13:21 ShadowBot https://github.com/luanti-org/luanti/issues/16092 -- Move dirs to luanti and linux and bsd to xdg by wrrrzr 13:24 SFENCE wrrrzr: And my review comment is already resolved? 13:36 wrrrzr SFENCE: No, i currently try to resolve 13:40 wrrrzr SFENCE: i need to use `NSHomeDirectory` insted of `getHomeOrFail` or use `NSHomeDirectory` for get true luanti dir? 14:01 SFENCE wrrrzr: to keep good quality of code, I recomment to use HSHomeDirectory in getHomeOrFail function. If you want, use conditional compilation to allow user to compile and use Luanti without sandbox. 14:03 wrrrzr SFENCE: So `NSHomeDirectory` is better alternative for `getHomeOrFail`? And how i need to name option? Like MACOS_SANDBOXED? 14:10 SFENCE wrrrzr: HSHomeDirectory is function from "MacOS API", getHomeOrFail is Luanti function from src/porting.cpp. So, in setSystemPaths function for MacOS, you should call NSHomeDirectory to get sandbox or user home path. Depends, if app is or is not sandboxed. So yes, it sounds as a better alternative.