Firebot icon indicating copy to clipboard operation
Firebot copied to clipboard

fix: frontend reading incorrect data folder

Open dennisrijsdijk opened this issue 4 months ago • 0 comments

Description of the Change

When --fbuser-data-directory=/path/to/dataFolder is passed into Firebot, the backend correctly uses this directory. However, the frontend doesn't. Because of this, some things like the profile selector use data from appdata, while the backend uses the specified data path.

This PR passes the fbuser-data-folder parameter into the MainWindow to ensure both frontend and backend are always working on the same data folder.

Testing

Ensured the profiles overview shows the profiles for the specified data folder, rather than the appdata folder.

dennisrijsdijk avatar Oct 01 '24 15:10 dennisrijsdijk