Closed mammuth closed 7 years ago
thanks for this! this seems like a reasonable approach, assuming that https://github.com/diracdeltas/signal-desktop isn't saving the window sizes. (If so, I would prefer to get them from the signal-desktop extension in order to avoid having an app data store at all.)
Thanks for the fast review. I changed the PR based on your comments.
please git rebase -i
to squash commits into one commit. thanks!
Done. You're no big fan of using GitHub's shiny new button for Squashing and Merging directly from PR's?😉
@mammuth actually i forgot it existed. thanks for the reminder!
^ ping on requested changes
Wups, didn't notice that you requested new changes 😊 sorry for the delay.
I added a generic store handler, which still stores production and dev settings in different files. It also can handle defaults.
Right now it's only used for storing the window bounds. Bounds are updated when the window is closed.
Are you fine with handling userData this way, @diracdeltas ? There are no linting errors.
Fixes diracdeltas/signal-muon/issues/24