OpenFunscripter / OFS

A tool to create funscripts
GNU General Public License v3.0
90 stars 38 forks source link

Add feature to remove recent files orphans #86

Open scriptingsentinel opened 1 year ago

scriptingsentinel commented 1 year ago

There is an option to clear recent file history in OFS3. However I don't find that useful. Instead I would like to have an option to clear orphans only. When I've completed a project I move the project folder into an archive folder and this causes an orphan in the recent files list. I still have ongoing projects so I don't want to clear the list. I just want to get rid of those that are dead links so to speak.

This new feature should simply loop through the recent files list and do a FileExist check for each and remove entries that point at files that don't exist anymore.