1
0
mirror of synced 2024-12-01 10:47:19 +01:00
ImHex/main
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 impr: Added comments everywhere in main application 2023-02-17 12:03:53 +01:00
romfs build: Move main romfs to main application 2022-12-29 23:32:40 +01:00
source fix: Move config files to XDG_CONFIG_HOME (#993) 2023-03-26 11:02:23 +02:00
CMakeLists.txt build: Fix library linking on non-windows 2023-01-04 13:23:42 +01:00