Merge pull request #560 from mitchellkelly/master

Fixed issue moving downloaded files in the base directory
This commit is contained in:
Roger Far 2024-09-02 18:58:29 -06:00 committed by GitHub
commit 227c8efeaf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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();