Fixed #48 an error occurig on Linux where configuration file path are not properly resolved during startup with the binary version of the program
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
### Fixed
|
### 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)
|
- 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
|
## [4.0.1] - 2024-06-9
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -62,8 +62,8 @@ def check_conf_file():
|
|||||||
and if it is different in structure (different section/options)
|
and if it is different in structure (different section/options)
|
||||||
it will merge the conf file with the new template one
|
it will merge the conf file with the new template one
|
||||||
"""
|
"""
|
||||||
active_conf = PREFERENCES_DIR / 'qtquickcontrols2.conf'
|
active_conf = (PREFERENCES_DIR / 'qtquickcontrols2.conf').resolve()
|
||||||
template_conf = BASE_DIR / 'config' / 'qtquickcontrols2.conf'
|
template_conf = (BASE_DIR / 'config' / 'qtquickcontrols2.conf').resolve()
|
||||||
|
|
||||||
if not active_conf.exists():
|
if not active_conf.exists():
|
||||||
copy_file(template_conf, active_conf)
|
copy_file(template_conf, active_conf)
|
||||||
|
|||||||
Reference in New Issue
Block a user