From 4ff3567a5890efa3ee512279b50643980f797332 Mon Sep 17 00:00:00 2001 From: Jeff Morgan Date: Thu, 11 Sep 2014 17:06:45 -0700 Subject: [PATCH] virtualbox check --- meteor/client/lib/virtualbox.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meteor/client/lib/virtualbox.js b/meteor/client/lib/virtualbox.js index de70fe6c7..85bae6dae 100644 --- a/meteor/client/lib/virtualbox.js +++ b/meteor/client/lib/virtualbox.js @@ -14,7 +14,8 @@ VirtualBox.HOSTONLY_HOSTIP = '192.168.60.3'; VirtualBox.HOSTONLY_NETWORKMASK = '255.255.255.0'; VirtualBox.installed = function () { - return fs.existsSync('/usr/bin/VBoxManage'); + return fs.existsSync('/usr/bin/VBoxManage') && + fs.existsSync('/Applications/VirtualBox.app/Contents/MacOS/VirtualBox'); }; VirtualBox.exec = function (command, callback) {