mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-05-09 13:42:03 -04:00
Only for VirtualBox.
This commit is contained in:
parent
6034b25cba
commit
6fbc08cfcb
1 changed files with 3 additions and 5 deletions
|
@ -35,12 +35,10 @@ function ventoy_debug_pause {
|
|||
|
||||
|
||||
function ventoy_max_resolution {
|
||||
#Skip this for VM
|
||||
#Skip this for VirtualBox
|
||||
smbios -t 1 -s 0x05 --set=system_product;
|
||||
for vtPdt in "VMware" "VirtualBox"; then
|
||||
if vt_str_casebegin "$system_product" "$vtPdt"; then
|
||||
return
|
||||
fi
|
||||
if vt_str_casebegin "$system_product" "VirtualBox"; then
|
||||
return
|
||||
fi
|
||||
|
||||
vt_enum_video_mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue