gravit icon indicating copy to clipboard operation
gravit copied to clipboard

Search for config files in "cfg"

Open gak opened this issue 13 years ago • 1 comments

After building with Makefile.linux (might apply to other build methods), the cfg directory is not looked at when the binary is executed from the root of the project. A fix for it is to copy gravit.cfg down a directory into the root.

Gravit itself should search for gravit.cfg in cfg/

gak avatar Apr 28 '12 23:04 gak

works for me on windows, and also when doing

./autogen.sh; ./configure && make install

on linux; so it is probably related to building with Makefile.linux. I have actually changed the default location to cfg/ to get the windows install working. Maybe we can apply the same to other platforms.

See changes to command.c and gravit.h in commit https://github.com/gak/gravit/commit/6dc9f07caec4c049a265a52c2b29dc865a0b7799

FrMo avatar Apr 29 '12 08:04 FrMo