Fixed issue moving downloaded files in the base directory

This commit is contained in:
Mitchell Kelly 2024-08-04 20:07:54 -04:00
parent 02113a43dd
commit 6d4440de20

View file

@ -73,6 +73,8 @@ public class SymlinkDownloader(String uri, String destinationPath, String path)
potentialFilePaths.Add(fileName);
potentialFilePaths.Add(fileNameWithoutExtension);
// add an empty path so we can check for the new file in the base directory
potentialFilePaths.Add("");
potentialFilePaths = potentialFilePaths.Distinct().ToList();