Closed mixage closed 4 years ago
DownloadMacOSView.m
downloadPath = [NSHomeDirectory() stringByAppendingPathComponent:@"Downloads"];
// MISSING: NSDictionary *attr = [[NSFileManager defaultManager] attributesOfItemAtPath:downloadPath error:nil]; if ( [[attr valueForKey:NSFileType] isEqualToString:NSFileTypeSymbolicLink] ) downloadPath = [[NSFileManager defaultManager] destinationOfSymbolicLinkAtPath:downloadPath error:nil]; ... }
Feel free to open a pull request with a fix. We are a tiny team and I'm just here to clean up the ridiculous amount of off-topic issues.
DownloadMacOSView.m
downloadPath = [NSHomeDirectory() stringByAppendingPathComponent:@"Downloads"];
// MISSING: NSDictionary *attr = [[NSFileManager defaultManager] attributesOfItemAtPath:downloadPath error:nil]; if ( [[attr valueForKey:NSFileType] isEqualToString:NSFileTypeSymbolicLink] ) downloadPath = [[NSFileManager defaultManager] destinationOfSymbolicLinkAtPath:downloadPath error:nil]; ... }