raylib icon indicating copy to clipboard operation
raylib copied to clipboard

Working Directory defaults to user folder on Mac OS

Open TITANDERP opened this issue 3 years ago • 0 comments

Just as it says in the title, currently on macOS Monterey 12.6.

Was pulling my hair out wondering how to embed the resource folder to my project because each resource file was throwing a "Error, file not found."

Turns out the current working directory defaults to user folder.

Using ChangeDirectory(); To the physical location of the source files does resolve this. Feel free to close if this is current intended behavior on the Mac platform (but should be noted in the Mac building guide)

I can confirm this issue is not prevelant on Windows, to the best of my knowledge.

TITANDERP avatar Sep 21 '22 01:09 TITANDERP