Cache data file location
As part of my app I want to create some files to cache data and/or save configurations.
Is there a preferred way to do this?
I naively created a folder in the root and added files there, which ofc works when running from the IDE, but when I run as a MacOS app it's not happy, and I imagine it either being a file permission issue or that I'm not allowed to create a folder in that location, which in some sense also is permission related.