1
0
mirror of synced 2024-11-15 03:27:40 +01:00
ImHex/lib/libimhex/source/helpers
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
..
crypto.cpp sys: Replaced many helper functions with libwolv 2023-03-12 18:27:33 +01:00
encoding_file.cpp impr: Properly display custom encoding characters that are split between lines 2023-03-14 09:35:43 +01:00
fs.cpp fix: Move config files to XDG_CONFIG_HOME (#993) 2023-03-26 11:02:23 +02:00
http_requests.cpp fix: Progress not working with with new http wrapper 2023-03-23 13:32:35 +01:00
logger.cpp sys: Replaced many helper functions with libwolv 2023-03-12 18:27:33 +01:00
magic.cpp impr: Look for magic files recursively 2023-03-17 21:18:28 +01:00
opengl.cpp sys: Replaced many helper functions with libwolv 2023-03-12 18:27:33 +01:00
patches.cpp feat: Added better error messages for generating and importing ips patches 2023-01-25 10:38:04 +01:00
stacktrace.cpp sys: Fixed more build issues 2023-03-13 09:25:07 +01:00
tar.cpp sys: Updated to use the new HttpRequest helper instead of Net 2023-03-23 11:23:07 +01:00
utils_macos.m fix: Fix macOS build again 2023-02-08 14:11:42 +01:00
utils.cpp feat: Added binary hex cell visualizer 2023-02-18 22:20:02 +01:00