adanvdo / YT-RED-UI

Windows .NET Framework GUI Application for Downloading Video and Audio Files from YouTube and Reddit
48 stars 1 forks source link

Updater fails to create post-update batch file #99

Closed adanvdo closed 2 years ago

adanvdo commented 2 years ago

when attempting to update from v1.0.1.11 to 1.0.1.12, the updater fails to create the post-update batch file that cleans up locked files.

adanvdo commented 2 years ago

This looks to be caused by a null reference in the case where there are no locked files and the list of locked files is null. I have changed this so it now is an empty list instead of null in that situation.