vboxmanage path windows
This commit is contained in:
parent
e0570818eb
commit
ed2e321487
@ -617,7 +617,8 @@ function versions(callback) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
exec('vboxmanage -v 2>&1', function (error, stdout) {
|
const vboxmanagePath = _windows ? process.env.VBOX_INSTALL_PATH || process.env.VBOX_MSI_INSTALL_PATH + '\\VBoxManage.exe' + '" ' : 'vboxmanage';
|
||||||
|
exec(vboxmanagePath + ' -v 2>&1', function (error, stdout) {
|
||||||
if (!error) {
|
if (!error) {
|
||||||
const vbox = stdout.toString().split('\n')[0] || '';
|
const vbox = stdout.toString().split('\n')[0] || '';
|
||||||
const parts = vbox.split('r');
|
const parts = vbox.split('r');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user