virtualBox() fix issue windows host

This commit is contained in:
Sebastian Hildebrandt
2021-01-04 12:55:32 +01:00
parent 6073436793
commit c0d060bcd0
4 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -330,7 +330,7 @@ function wmic(command, options) {
}
function getVboxmanage() {
return _windows ? process.env.VBOX_INSTALL_PATH || process.env.VBOX_MSI_INSTALL_PATH + '\\VBoxManage.exe' + '" ' : 'vboxmanage';
return _windows ? `${process.env.VBOX_INSTALL_PATH || process.env.VBOX_MSI_INSTALL_PATH}\\VBoxManage.exe` : 'vboxmanage';
}
function powerShell(cmd) {