(ui): preferences path is broken
Summary
Normally, the preferences path of an application follows <USER_CONF_DIR>/.sight/<APPLICATION_NAME>/preferences.json
. This is broken today, the <APPLICATION_NAME> is missing
Steps to reproduce
On Linux:
- If the path /home/$USER/.config/sight/SightViewer exists, delete it
- Launch SightViewer and exit it
- Observe that /home/
USER/.config/sight/SightViewer/preferences.json is not created. Instead /home/
USER/.config/sight/preferences.json is updated.
Dev environment
- OS: Linux, Windows
Possible fixes
Retrieve the application name properly