diff --git a/CHANGELOG.md b/CHANGELOG.md index 753dd0d..159f90a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ ### Fixed - When the links/urls in the description field of a signal are clicked, they open the default browser [#46](https://github.com/AresValley/Artemis/issues/46) +- Fixed an error occurig on Linux where configuration file path are not properly resolved during startup with the binary version of the program (they are if running from source) [#48](https://github.com/AresValley/Artemis/issues/48) ## [4.0.1] - 2024-06-9 ### Added diff --git a/artemis/utils/config_utils.py b/artemis/utils/config_utils.py index 67e7dbf..222a3ed 100644 --- a/artemis/utils/config_utils.py +++ b/artemis/utils/config_utils.py @@ -62,8 +62,8 @@ def check_conf_file(): and if it is different in structure (different section/options) it will merge the conf file with the new template one """ - active_conf = PREFERENCES_DIR / 'qtquickcontrols2.conf' - template_conf = BASE_DIR / 'config' / 'qtquickcontrols2.conf' + active_conf = (PREFERENCES_DIR / 'qtquickcontrols2.conf').resolve() + template_conf = (BASE_DIR / 'config' / 'qtquickcontrols2.conf').resolve() if not active_conf.exists(): copy_file(template_conf, active_conf)