Fix Vbox if not on el capitan

Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
This commit is contained in:
Jeffrey Morgan 2015-08-29 12:25:06 -07:00
parent 762e394acc
commit a1733898c3
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@
{ {
try { try {
vboxplist = system.files.plistAtPath('/Applications/VirtualBox.app/Contents/Info.plist'); vboxplist = system.files.plistAtPath('/Applications/VirtualBox.app/Contents/Info.plist');
if (!vboxplist || !vboxplist.CFBundleVersion || vboxplist.CFBundleVersion === '5.0.2' || system.compareVersions(vboxplist.CFBundleVersion, '%VBOX_VERSION%') === -1) { if (!vboxplist || !vboxplist.CFBundleVersion || (vboxplist.CFBundleVersion === '5.0.2' && system.version.ProductVersion !== '10.11') || system.compareVersions(vboxplist.CFBundleVersion, '%VBOX_VERSION%') === -1) {
return true; return true;
} }