1
0
mirror of synced 2024-11-24 15:50:16 +01:00
ImHex/lib/libimhex
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
..
include fix: Move config files to XDG_CONFIG_HOME (#993) 2023-03-26 11:02:23 +02:00
source fix: Move config files to XDG_CONFIG_HOME (#993) 2023-03-26 11:02:23 +02:00
CMakeLists.txt sys: Updated to use the new HttpRequest helper instead of Net 2023-03-23 11:23:07 +01:00