dosdude1 / macos-catalina-patcher

macOS Catalina Patcher (http://dosdude1.com/catalina)
GNU General Public License v3.0
419 stars 60 forks source link

Mac OS download path pointing to symlink not resolved #65

Closed mixage closed 4 years ago

mixage commented 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]; ... }

mrcbax commented 4 years ago

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.