Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Commit

Permalink
virtualbox check
Browse files Browse the repository at this point in the history
  • Loading branch information
jmorganca committed Sep 12, 2014
1 parent 18aefe3 commit 4ff3567
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion meteor/client/lib/virtualbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4ff3567

Please sign in to comment.