SjoerdKingma / RecycleBinCleaner

Code base for Recycle-bin-cleaner: Cleans certain file names from Windows recycle bin, based on user input.
0 stars 0 forks source link

Create new json files if old ones can not be found. #3

Open SjoerdKingma opened 2 years ago

SjoerdKingma commented 2 years ago

Right now when UserSettings.json can not be found, it is logged as an error and the program will exit. And when Logs.json can not be found, the program will throw an error.

I want it to be so that when these files can't be found, it will create new files with default settings so that the application can continue to run.