Support Finder's Quicklook in App Volumes

Resolves #124.
This commit is contained in:
Kyle Neideck 2017-08-01 21:51:29 +10:00
parent b715212cab
commit 09aacabefa
No known key found for this signature in database
GPG key ID: CAA8D9B8E39EC18C

View file

@ -408,6 +408,8 @@
// this list if the API doesn't work. // this list if the API doesn't work.
+ (NSArray<NSString*>*) responsibleBundleIDsOf:(NSString*)parentBundleID { + (NSArray<NSString*>*) responsibleBundleIDsOf:(NSString*)parentBundleID {
NSDictionary<NSString*, NSArray<NSString*>*>* bundleIDMap = @{ NSDictionary<NSString*, NSArray<NSString*>*>* bundleIDMap = @{
// Finder
@"com.apple.finder": @[@"com.apple.quicklook.ui.helper"],
// Safari // Safari
@"com.apple.Safari": @[@"com.apple.WebKit.WebContent"], @"com.apple.Safari": @[@"com.apple.WebKit.WebContent"],
// Firefox // Firefox