Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize location of data directories #54

Closed
Stupremee opened this issue Dec 7, 2020 · 4 comments
Closed

Customize location of data directories #54

Stupremee opened this issue Dec 7, 2020 · 4 comments

Comments

@Stupremee
Copy link

Stupremee commented Dec 7, 2020

Similair to #46, it would be nice to modify the location where the patterns include and magic folders are searched.

This could be achieved by either a command line flag or an environment variable

@abrasive
Copy link
Contributor

To make packaging easier and more Unixy, it would be nice for these, and the Python lib directory, to default to /usr/share/ImHex when compiling on Unix.

This would also resolve the issue where they're not found if you run ImHex from the commandline outside the install dir, as currently they're searched relative to the cwd.

@tuxuser
Copy link

tuxuser commented Dec 12, 2020

to default to /usr/share/ImHex when compiling on Unix.

While at it, maybe even change the casing in general from ˋImHexˋ to ˋimhexˋ.

it would be nice to modify the location where the patterns include and magic folders are searched.

Global location could be /usr/share/{appname}

Personal aka. per-user location $HOME/.config/imhex or $HOME/.imhex

@Calinou
Copy link
Contributor

Calinou commented Jan 7, 2021

While at it, maybe even change the casing in general from ˋImHexˋ to ˋimhexˋ.

This is done by #70.

@wardwouts
Copy link
Contributor

Isn't this issue solved already? Looking at https://github.com/WerWolv/ImHex/blob/master/plugins/libimhex/source/helpers/paths.cpp it seems that sensible paths are searched.

@WerWolv WerWolv closed this as completed Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants