mirror of
https://github.com/ventoy/Ventoy.git
synced 2026-06-29 06:28:13 +00:00
Remove grub.cfg max resolution script function.
This commit is contained in:
@@ -34,20 +34,6 @@ function ventoy_debug_pause {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function ventoy_max_resolution {
|
|
||||||
#Skip this for VirtualBox
|
|
||||||
smbios -t 1 -s 0x05 --set=system_product;
|
|
||||||
if vt_str_casebegin "$system_product" "VirtualBox"; then
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
|
|
||||||
vt_enum_video_mode
|
|
||||||
vt_get_video_mode 0 vtCurMode
|
|
||||||
terminal_output console
|
|
||||||
set gfxmode=$vtCurMode
|
|
||||||
terminal_output gfxterm
|
|
||||||
}
|
|
||||||
|
|
||||||
function ventoy_cli_console {
|
function ventoy_cli_console {
|
||||||
if [ -z "$vtoy_display_mode" ]; then
|
if [ -z "$vtoy_display_mode" ]; then
|
||||||
terminal_output console
|
terminal_output console
|
||||||
@@ -662,7 +648,6 @@ function uefi_windows_menu_func {
|
|||||||
|
|
||||||
if [ -n "$vtoy_chain_mem_addr" ]; then
|
if [ -n "$vtoy_chain_mem_addr" ]; then
|
||||||
ventoy_acpi_param ${vtoy_chain_mem_addr} 2048
|
ventoy_acpi_param ${vtoy_chain_mem_addr} 2048
|
||||||
ventoy_max_resolution
|
|
||||||
chainloader ${vtoy_path}/ventoy_${VTOY_EFI_ARCH}.efi env_param=${env_param} isoefi=${LoadIsoEfiDriver} iso_${ventoy_fs_probe} ${vtdebug_flag} mem:${vtoy_chain_mem_addr}:size:${vtoy_chain_mem_size}
|
chainloader ${vtoy_path}/ventoy_${VTOY_EFI_ARCH}.efi env_param=${env_param} isoefi=${LoadIsoEfiDriver} iso_${ventoy_fs_probe} ${vtdebug_flag} mem:${vtoy_chain_mem_addr}:size:${vtoy_chain_mem_size}
|
||||||
boot
|
boot
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user