]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - INSTALL/grub/grub.cfg
bug fix
[Ventoy.git] / INSTALL / grub / grub.cfg
index 6872363785865fcf3d5fd17733e1fbd4a49333f3..444a337a517f42dbf40987502946011a247b95eb 100644 (file)
@@ -79,6 +79,10 @@ function uefi_windows_menu_func {
     
     vt_windows_chain_data ${1}${chosen_path}
 
+    if [ -n "${vtdebug_flag}" ]; then
+        sleep 5
+    fi
+
     if [ -n "$vtoy_chain_mem_addr" ]; then
         terminal_output  console       
         chainloader ${vtoy_path}/ventoy_x64.efi  env_param=${env_param} isoefi=${LoadIsoEfiDriver} ${vtdebug_flag} mem:${vtoy_chain_mem_addr}:size:${vtoy_chain_mem_size}
@@ -158,6 +162,10 @@ function uefi_iso_menu_func {
     vt_img_sector ${1}${chosen_path}
     
     if [ "$vtoy_os" = "Windows" ]; then
+        if [ "$ventoy_fs_probe" = "iso9660" ]; then
+            set ventoy_compatible=YES
+        fi
+    
         uefi_windows_menu_func  $1
     else
         uefi_linux_menu_func  $1
@@ -271,8 +279,11 @@ function legacy_iso_menu_func {
     vt_check_compatible (loop)
     
     vt_img_sector ${1}${chosen_path}
-   
+
     if [ "$vtoy_os" = "Windows" ]; then
+        if [ "$ventoy_fs_probe" = "iso9660" ]; then
+            set ventoy_compatible=YES
+        fi
         legacy_windows_menu_func  $1
     else
         legacy_linux_menu_func  $1
@@ -291,7 +302,7 @@ function legacy_iso_menu_func {
 #############################################################
 #############################################################
 
-set VENTOY_VERSION="1.0.00"
+set VENTOY_VERSION="1.0.01"
 
 #disable timeout
 unset timeout