Find directory for “application data” on linux and macintosh

后端 未结 2 1508
一向
一向 2020-12-15 22:35

I have a game engine based on LWJGL, and to run it I need to place the required native libraries onto the user\'s computer. On Windows, I do so by finding the Application Da

2条回答
  •  离开以前
    2020-12-15 23:11

    this should work. just one thing: on linux it is preferred to keep settings in a hidden folder in user directory. So for linux, either put your folder under $HOME/.config, or start the name with the . to make it hidden.

提交回复
热议问题