mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-03-03 15:20:10 -05:00
Don't force to use max resolution for VMware/VirtualBox. (#3140)
This commit is contained in:
parent
c5fd64d21c
commit
6034b25cba
@ -35,6 +35,14 @@ function ventoy_debug_pause {
|
||||
|
||||
|
||||
function ventoy_max_resolution {
|
||||
#Skip this for VM
|
||||
smbios -t 1 -s 0x05 --set=system_product;
|
||||
for vtPdt in "VMware" "VirtualBox"; then
|
||||
if vt_str_casebegin "$system_product" "$vtPdt"; then
|
||||
return
|
||||
fi
|
||||
fi
|
||||
|
||||
vt_enum_video_mode
|
||||
vt_get_video_mode 0 vtCurMode
|
||||
terminal_output console
|
||||
|
Loading…
x
Reference in New Issue
Block a user