1.0.66 release

This commit is contained in:
longpanda
2022-02-13 17:00:39 +08:00
parent c57717aea2
commit ba5978d298
287 changed files with 3349 additions and 226 deletions

View File

@@ -1390,7 +1390,19 @@ function efi_common_menuentry {
return
fi
vt_concat_efi_iso "${vtoy_iso_part}${vt_chosen_path}" vtoy_iso_buf
unset vt_vlnk_dst
if vt_is_vlnk_name "${vt_chosen_path}"; then
vt_get_vlnk_dst "${vtoy_iso_part}${vt_chosen_path}" vt_vlnk_dst
if [ -z "$vt_vlnk_dst" ]; then
echo -e "\n### VLNK FILE NOT FOUND ###\n### VLNK 文件不存在 ###\n"
ventoy_pause
return
fi
else
vt_vlnk_dst="${vtoy_iso_part}${vt_chosen_path}"
fi
vt_concat_efi_iso "${vt_vlnk_dst}" vtoy_iso_buf
ventoy_debug_pause
@@ -1402,7 +1414,7 @@ function efi_common_menuentry {
if [ -n "$vtoy_dotefi_retry" ]; then
unset vtoy_dotefi_retry
chainloader "${vtoy_iso_part}${vt_chosen_path}"
chainloader "${vt_vlnk_dst}"
boot
fi
@@ -1438,17 +1450,6 @@ function vhdboot_common_func {
}
function vhd_common_menuentry {
if [ "$VTOY_VHD_NO_WARNING" != "1" ]; then
if [ "$vtoy_iso_fs" != "ntfs" ]; then
echo -e "!!! WARNING !!!\n"
echo -e "\nPartition1 ($vtoy_iso_fs) is NOT ntfs, the VHD(x) file may not boot normally \n"
echo -e "\nVHD(x) 文件所在分区不是 ntfs 格式, 可能无法正常启动 \n\n"
echo -n "press ENTER to continue boot (请按 回车 键继续) ..."
read vtInputKey
fi
fi
vt_chosen_img_path vt_chosen_path vt_chosen_size
if vt_check_password "${vt_chosen_path}"; then
@@ -1459,7 +1460,28 @@ function vhd_common_menuentry {
return
fi
vhdboot_common_func "${vt_chosen_path}"
unset vt_vlnk_dst
if vt_is_vlnk_name "${vt_chosen_path}"; then
vt_get_vlnk_dst "${vtoy_iso_part}${vt_chosen_path}" vt_vlnk_dst
if [ -z "$vt_vlnk_dst" ]; then
echo -e "\n### VLNK FILE NOT FOUND ###\n### VLNK 文件不存在 ###\n"
ventoy_pause
return
fi
else
vt_vlnk_dst="${vt_chosen_path}"
if [ "$VTOY_VHD_NO_WARNING" != "1" ]; then
if [ "$vtoy_iso_fs" != "ntfs" ]; then
echo -e "!!! WARNING !!!\n"
echo -e "\nPartition1 ($vtoy_iso_fs) is NOT ntfs, the VHD(x) file may not boot normally \n"
echo -e "\nVHD(x) 文件所在分区不是 ntfs 格式, 可能无法正常启动 \n\n"
echo -n "press ENTER to continue boot (请按 回车 键继续) ..."
read vtInputKey
fi
fi
fi
vhdboot_common_func "${vt_vlnk_dst}"
}
function vhd_unsupport_menuentry {
@@ -1535,7 +1557,19 @@ function vtoy_common_menuentry {
return
fi
vtoyboot_common_func "${vtoy_iso_part}${vt_chosen_path}"
unset vt_vlnk_dst
if vt_is_vlnk_name "${vt_chosen_path}"; then
vt_get_vlnk_dst "${vtoy_iso_part}${vt_chosen_path}" vt_vlnk_dst
if [ -z "$vt_vlnk_dst" ]; then
echo -e "\n### VLNK FILE NOT FOUND ###\n### VLNK 文件不存在 ###\n"
ventoy_pause
return
fi
else
vt_vlnk_dst="${vtoy_iso_part}${vt_chosen_path}"
fi
vtoyboot_common_func "${vt_vlnk_dst}"
}
function vtoy_unsupport_menuentry {
@@ -2036,7 +2070,7 @@ function img_unsupport_menuentry {
#############################################################
#############################################################
set VENTOY_VERSION="1.0.65"
set VENTOY_VERSION="1.0.66"
#ACPI not compatible with Window7/8, so disable by default
set VTOY_PARAM_NO_ACPI=1
@@ -2044,7 +2078,7 @@ set VTOY_PARAM_NO_ACPI=1
# Default menu display mode, you can change it as you want.
# 0: List mode
# 1: TreeView mode
set VTOY_DEFAULT_MENU_MODE=0
set VTOY_DEFAULT_MENU_MODE=1
set VTOY_MEM_DISK_STR="[Memdisk]"
set VTOY_ISO_RAW_STR="Compatible Mode"
@@ -2156,6 +2190,7 @@ else
set VTOY_HOTKEY_TIP="h:Help F1:Memdisk F2:Power F3:ListView F4:Localboot F5:Tools F6:ExMenu"
fi
terminal_output console
if [ -n "$vtoy_gfxmode" ]; then
set gfxmode=$vtoy_gfxmode