From: longpanda Date: Fri, 28 Feb 2025 06:58:36 +0000 (+0800) Subject: Only for VirtualBox. X-Git-Tag: v1.1.06~11 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/commitdiff_plain/6fbc08cfcbfdf97fa2457739f47dced84d857799?ds=sidebyside Only for VirtualBox. --- diff --git a/INSTALL/grub/grub.cfg b/INSTALL/grub/grub.cfg index 5b1e300..d1b7c96 100644 --- a/INSTALL/grub/grub.cfg +++ b/INSTALL/grub/grub.cfg @@ -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