daniel-lerch / vocup

Vocabulary trainer.
https://www.microsoft.com/p/vocup/9n6w2h3qjqmm
GNU Affero General Public License v3.0
9 stars 3 forks source link

Show message if configured folder is not found #24

Closed daniel-lerch closed 3 years ago

daniel-lerch commented 3 years ago

Vocup currently creates the configured VhfPath and VhrPath on startup if these folders don't exist. However, this behavior could lead to fatal crashes at startup if a user configured the path to an external disk before and Vocup attempts again and again to create this directory because it doesn't exist.

Instead of creating custom VhfPath and VhrPath directories, Vocup should show a message if these folders can't be found and reset the configuration to its default values.