verhoevenv/OpenNotrium

runtime files

Opened this issue · 2 comments

The OpenNotrium executable requires files to be in the working/current
directory instead of in a shared data or config dir.

I've never been a package maintainer.. Anyone knows what would be the best way to solve this, preferably without having to maintain a set of paths per platform? I would suppose PhysFS + CMake can handle most of the work for this?

I tried to make it work via a wrapper which cd-s to the runtime files
directory before running the executable, but then a segfault happens.
I guess the Notrium executable also needs files to be in the same dir
it is in, in addition to requiring some of them to be in cwd.