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

Commit 4ff3567

Browse files
committed
virtualbox check
1 parent 18aefe3 commit 4ff3567

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

meteor/client/lib/virtualbox.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ VirtualBox.HOSTONLY_HOSTIP = '192.168.60.3';
1414
VirtualBox.HOSTONLY_NETWORKMASK = '255.255.255.0';
1515

1616
VirtualBox.installed = function () {
17-
return fs.existsSync('/usr/bin/VBoxManage');
17+
return fs.existsSync('/usr/bin/VBoxManage') &&
18+
fs.existsSync('/Applications/VirtualBox.app/Contents/MacOS/VirtualBox');
1819
};
1920

2021
VirtualBox.exec = function (command, callback) {

0 commit comments

Comments
 (0)