Re-introduce my own fix since rogerfar one is not working

This commit is contained in:
Arnau Villoslada 2024-09-05 23:58:43 +02:00
parent fb5b5ea831
commit e03adade0e
No known key found for this signature in database
GPG key ID: FBE408FCAF09B6C8

View file

@ -80,7 +80,11 @@ public class SymlinkDownloader(String uri, String destinationPath, String path)
_logger.Debug($"Searching {rcloneMountPath} for {fileName} (attempt #{retryCount})...");
file = FindFile(rcloneMountPath, potentialFilePaths, fileName);
file = FindFile(rcloneMountPath, potentialFilePaths, "");
if (file == null)
{
file = FindFile(rcloneMountPath, potentialFilePaths, fileName);
}
if (file == null && searchSubDirectories)
{