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.
|
# Tweak video device based on the guest macOS release.
|
||||||
# Displays in System Preferences can be used to select a resolution if:
|
# Displays in System Preferences can be used to select a resolution if:
|
||||||
# - qxl is used on Big Sur and Catalina
|
# - 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.
|
# - High Sierra will run at the default 1920x1080 only.
|
||||||
case ${macos_release} in
|
case ${macos_release} in
|
||||||
catalina) DISPLAY_DEVICE="qxl";;
|
catalina|big-sur) DISPLAY_DEVICE="qxl";;
|
||||||
big-sur) DISPLAY_DEVICE="qxl";;
|
|
||||||
*) DISPLAY_DEVICE="VGA";;
|
*) DISPLAY_DEVICE="VGA";;
|
||||||
esac
|
esac
|
||||||
elif [ "${guest_os}" == "windows" ]; then
|
elif [ "${guest_os}" == "windows" ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue