This commit is contained in:
longpanda
2020-04-08 00:06:23 +08:00
parent 99862acb1c
commit ef80baf150
6 changed files with 71 additions and 10 deletions

View 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