]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - INSTALL/grub/grub.cfg
Don't force to use max resolution for VMware/VirtualBox. (#3140)
[Ventoy.git] / INSTALL / grub / grub.cfg
index 0c31dda4d7f5d1286aedb686547e904ff4c93119..5b1e300740b0601ae4ee7788e0079e1de510eaeb 100644 (file)
@@ -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
@@ -2419,7 +2427,7 @@ function mimg_common_menuentry {
 #############################################################
 #############################################################
 
-set VENTOY_VERSION="1.1.04"
+set VENTOY_VERSION="1.1.05"
 
 #ACPI not compatible with Window7/8, so disable by default
 set VTOY_PARAM_NO_ACPI=1