Metadata about each note is saved to notes.meta.json. Currently, is this file is invalid when the application launches, it will just error and prevent it from starting. A user-flow should be implemented to allow the application to start.
Possible flow:
- If invalid on startup, show alert dialog with two options;
- Init new meta file
Create backup of current (malformed) meta file and init new one
Proceed with application start up
- Open meta file and allow user to try fix manually
File opens in external application
When focus returns to app, repeat check
Metadata about each note is saved to
notes.meta.json. Currently, is this file is invalid when the application launches, it will just error and prevent it from starting. A user-flow should be implemented to allow the application to start.Possible flow:
Create backup of current (malformed) meta file and init new one
Proceed with application start up
File opens in external application
When focus returns to app, repeat check