diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-10-20 22:44:15 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-10-20 22:44:15 +0200 |
commit | d84054ecbbd15e92736e5e5f55e36f72f410d3a5 (patch) | |
tree | 25f3aae9ca5c4e16eb0bfe163044c1080f9bed96 /src/Config.cpp | |
parent | 939bf23921cce4b934ecc2a98fa871c7538d0276 (diff) |
gsr-overlay > gsr-ui
Diffstat (limited to 'src/Config.cpp')
-rw-r--r-- | src/Config.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Config.cpp b/src/Config.cpp index 88eead9..b9319aa 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -111,7 +111,7 @@ namespace gsr { std::optional<Config> read_config() { std::optional<Config> config; - const std::string config_path = get_config_dir() + "/overlay_config"; + const std::string config_path = get_config_dir() + "/config_ui"; std::string file_content; if(!file_get_content(config_path.c_str(), file_content)) { fprintf(stderr, "Warning: Failed to read config file: %s\n", config_path.c_str()); @@ -173,7 +173,7 @@ namespace gsr { void save_config(Config &config) { config.main_config.config_file_version = CONFIG_FILE_VERSION; - const std::string config_path = get_config_dir() + "/overlay_config"; + const std::string config_path = get_config_dir() + "/config_ui"; char dir_tmp[PATH_MAX]; snprintf(dir_tmp, sizeof(dir_tmp), "%s", config_path.c_str()); |