Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default value for options is not working if added after app is first started #25

Open
durasj opened this issue Apr 26, 2020 · 1 comment
Assignees
Labels
bug Bug

Comments

@durasj
Copy link
Member

durasj commented Apr 26, 2020

Default values for options are correctly used when the application is first started.

But if some options are added after that (updated backend, new backend), they won't be set correctly.

@durasj durasj added the bug Bug label Apr 26, 2020
@durasj durasj self-assigned this Apr 26, 2020
@durasj
Copy link
Member Author

durasj commented Apr 26, 2020

One possible solution is to use migrations from the electron-store that'll add the new defaults. Not sure how to calculate the versions though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug
Projects
None yet
Development

No branches or pull requests

1 participant