1
0
mirror of synced 2024-09-24 11:38:26 +02:00
ImHex/lib
Thomas 725e32250b
fix: Move config files to XDG_CONFIG_HOME (#993)
This pull request changes Config Directories on Linux to only include
the XDG_CONFIG_HOME directory, as opposed to all directories in
XDG_DATA_DIRS before (introduced in
https://github.com/WerWolv/ImHex/pull/644/files#diff-c1a4d2b63fed168a9a3568944e9cadeae096f2ddcec3649e4a9b2d29fd104be0L162-L166).

Reasons:
- This changes the location of the config file to the standard directory
meant for configurations
- This prevents the config file from being read/written in system
locations, like /usr/share

This PR also includes a migration task that will run on Linux and move
config/GUI dimensions to the new directory

as a bonus, as discussed on discord, it writes the logs to a Data
directory instead of a Config directory
2023-03-26 11:02:23 +02:00
..
external patterns: Update pattern_language and implement support for new bitfield features (#992) 2023-03-26 11:01:37 +02:00
libimhex fix: Move config files to XDG_CONFIG_HOME (#993) 2023-03-26 11:02:23 +02:00