LegalizeAdulthood / iterated-dynamics

Iterated Dynamics is an open source fractal generator with support for many fractal types.
https://legalizeadulthood.github.io/iterated-dynamics/
GNU General Public License v3.0
25 stars 9 forks source link

Id must be run from home directory or it can't find files #93

Closed LegalizeAdulthood closed 2 months ago

LegalizeAdulthood commented 6 months ago

The compile definition SRCDIR is supposed to fix this but it doesn't seem to be working correctly. I suspect only some of the files are located through the mechanism that falls back to SRCDIR.

There is the environment variable FRACTDIR mechanism as well, but I don't think that's been tested to see if it works properly, either. Either way the variable should be renamed to ID_HOME.

This relates to bug #92 as well.

LegalizeAdulthood commented 2 months ago

This works correctly when run from the installer; when running from the debugger set the current directory to the home directory for files to be found correctly.