mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Automatically press any key when booting Windows install. Close #231
This commit is contained in:
parent
fd105ab8f5
commit
74e72404b4
1 changed files with 6 additions and 1 deletions
7
quickemu
7
quickemu
|
@ -1752,8 +1752,13 @@ if [ ${SHORTCUT} -eq 1 ]; then
|
|||
exit
|
||||
fi
|
||||
|
||||
if [ $VM_UP -eq 0 ]; then
|
||||
if [ ${VM_UP} -eq 0 ]; then
|
||||
vm_boot
|
||||
# If the VM being started is an uninstalled Windows VM then auto-skip the press-any key prompt.
|
||||
if [ -n "${iso}" ] && [ "${guest_os}" == "windows" ]; then
|
||||
sleep 3.5
|
||||
monitor_send_cmd "sendkey ret"
|
||||
fi
|
||||
start_viewer
|
||||
else
|
||||
parse_ports_from_file
|
||||
|
|
Loading…
Reference in a new issue