mirror of
https://github.com/quickemu-project/quickemu.git
synced 2024-09-20 00:02:03 +02:00
Minor refactor of macOS DISPLAY_DEVICE
This commit is contained in:
parent
faf38a2f5d
commit
62fb6690db
5
quickemu
5
quickemu
|
@ -435,11 +435,10 @@ function vm_boot() {
|
|||
# Tweak video device based on the guest macOS release.
|
||||
# Displays in System Preferences can be used to select a resolution if:
|
||||
# - qxl is used on Big Sur and Catalina
|
||||
# - VGA is used on Mojave, although options are limited and they are all 4:3
|
||||
# - VGA is used on Mojave, although available resolutions are all 4:3
|
||||
# - High Sierra will run at the default 1920x1080 only.
|
||||
case ${macos_release} in
|
||||
catalina) DISPLAY_DEVICE="qxl";;
|
||||
big-sur) DISPLAY_DEVICE="qxl";;
|
||||
catalina|big-sur) DISPLAY_DEVICE="qxl";;
|
||||
*) DISPLAY_DEVICE="VGA";;
|
||||
esac
|
||||
elif [ "${guest_os}" == "windows" ]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user