From 0783988901955344a3d0c7da6c9d862f3cbd62e0 Mon Sep 17 00:00:00 2001 From: Jack <31696646+myspaghetti@users.noreply.github.com> Date: Tue, 28 Jan 2020 18:20:47 +0200 Subject: [PATCH] better explanation for when to press enter --- macos-guest-virtualbox.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/macos-guest-virtualbox.sh b/macos-guest-virtualbox.sh index 321386c..9670fd0 100755 --- 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/myspaghetti/macos-guest-virtualbox -# version 0.84.1 +# version 0.84.2 # Requirements: 40GB available storage on host # Dependencies: bash >= 4.3, xxd, gzip, unzip, wget, dmg2img, @@ -798,9 +798,9 @@ kbstring='background_pid="$(ps | grep '"'"' sh$'"'"' | cut -d '"'"' '"'"' -f 3)" send_keys send_enter if [[ ( "${vbox_version:0:1}" -lt 6 ) || ( "${vbox_version:0:1}" = 6 && "${vbox_version:2:1}" = 0 ) ]]; then - printf "${highlight_color}"'When the VM reboots, press enter'"${default_color}"' or alternatively -manually detach the virtual storage device "'"Install ${macOS_release_name}.vdi"'" -to avoid booting into the installer environment again.' + printf "${highlight_color}"'When the installer finishes preparing and reboots the VM, press enter'"${default_color}"' so the script +powers off the virtual machine and detaches the device "'"Install ${macOS_release_name}.vdi"'" to avoid +booting into the installer environment again.' clear_input_buffer_then_read VBoxManage controlvm "${vmname}" poweroff >/dev/null 2>&1 for (( i=10; i>5; i-- )); do printf ' \r'"${i}"; sleep 0.5; done