Add client bundle ID for Parallels to App Volumes.

Fixes #86.
This commit is contained in:
Kyle Neideck 2017-06-23 00:47:50 +10:00
parent c907f13554
commit 7f784b5d94
No known key found for this signature in database
GPG key ID: CAA8D9B8E39EC18C

View file

@ -344,10 +344,18 @@ static CGFloat const kAppVolumeViewInitialHeight = 20;
@"org.mozilla.nightly": @[@"org.mozilla.plugincontainer"],
// VMWare Fusion
@"com.vmware.fusion": @[@"com.vmware.vmware-vmx"],
// Parallels
@"com.parallels.desktop.console": @[@"com.parallels.vm"],
// MPlayer OSX Extended
@"hu.mplayerhq.mplayerosx.extended": @[@"ch.sttz.mplayerosx.extended.binaries.officialsvn"]
};
// Parallels' VM "dock helper" apps have bundle IDs like
// com.parallels.winapp.87f6bfc236d64d70a81c47f6243add4c.f5a25fdede514f7aa0a475a1873d3287.fs
if ([parentBundleID hasPrefix:@"com.parallels.winapp."]) {
return @[@"com.parallels.vm"];
}
return bundleIDMap[parentBundleID];
}