Skip to content

linux-rust: fix config file creation#634

Open
LegendEronZ wants to merge 1 commit into
kavishdevar:linux/rustfrom
LegendEronZ:linux/rust
Open

linux-rust: fix config file creation#634
LegendEronZ wants to merge 1 commit into
kavishdevar:linux/rustfrom
LegendEronZ:linux/rust

Conversation

@LegendEronZ

Copy link
Copy Markdown

When the config folder doesn't exist the application doesn't create it, this leads to a silenced panic on app_settings.json writes with std::fs::write, and settings are not saved.

This pull request adds a check to the get_app_settings_path function to create the config folder.

@LegendEronZ

Copy link
Copy Markdown
Author

Fixes issue #633

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant