diff --git a/macos-guest-virtualbox.sh b/macos-guest-virtualbox.sh index 2c4de62..e7bac5e 100644 --- a/macos-guest-virtualbox.sh +++ b/macos-guest-virtualbox.sh @@ -2,7 +2,7 @@ # Semi-automatic installer of macOS on VirtualBox # (c) myspaghetti, licensed under GPL2.0 or higher # url: https://github.com/img2tab/macos-guest-virtualbox -# version 0.73.6 +# version 0.74.0 # Requirements: 40GB available storage on host # Dependencies: bash >= 4.0, unzip, wget, dmg2img, @@ -192,8 +192,9 @@ elif [[ "$(cat /proc/sys/kernel/osrelease 2>/dev/null)" =~ Microsoft ]]; then echo "Can't find VBoxManage in PATH variable," echo "checking ${wsl_path_VBoxManage}" if [ -n "$("${wsl_path_VBoxManage}" -v 2>/dev/null)" ]; then + PATH="${PATH}:${wsl_path_VBoxManage}" function VBoxManage() { - "${wsl_path_VBoxManage}" "$@" + VBoxManage.exe "$@" } echo "Found VBoxManage" else