X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/7715bd705cf56c45a7c1f434235eb7279f4d089b..f7fac26c91a2efbb77b243ffd20e89e992ea1f71:/INSTALL/grub/debug.cfg diff --git a/INSTALL/grub/debug.cfg b/INSTALL/grub/debug.cfg index 87d887e..6b8f8c2 100644 --- a/INSTALL/grub/debug.cfg +++ b/INSTALL/grub/debug.cfg @@ -1,4 +1,5 @@ +source $prefix/power.cfg source $prefix/keyboard.cfg submenu "Resolution Configuration" --class=debug_resolution --class=F5tool { @@ -38,8 +39,23 @@ submenu "Screen Display Mode" --class=debug_screen_mode --class=F5tool { } } +if [ $VTOY_THEME_COUNT -gt 1 ]; then + submenu "Theme Select" --class=debug_theme_select --class=F5tool { + vt_select_theme_cfg + } +fi + if [ "$grub_platform" != "pc" ]; then submenu 'Ventoy UEFI Utilities' --class=debug_util --class=F5tool { + menuentry 'Show EFI Drivers' --class=debug_util_efidrv --class=debug_util --class=F5tool { + vt_push_pager + chainloader ${vtoy_path}/vtoyutil_${VTOY_EFI_ARCH}.efi env_param=${env_param} ${vtdebug_flag} feature=show_efi_drivers + boot + vt_pop_pager + echo -e "\npress ENTER to exit ..." + read vtInputKey + } + menuentry 'Fixup Windows BlinitializeLibrary Failure' --class=debug_util_blinit --class=debug_util --class=F5tool { chainloader ${vtoy_path}/vtoyutil_${VTOY_EFI_ARCH}.efi env_param=${env_param} ${vtdebug_flag} feature=fix_windows_mmap boot @@ -103,6 +119,15 @@ submenu 'Check plugin json configuration (ventoy.json)' --class=debug_json --cla unset pager } + menuentry 'Check menu tip plugin configuration' --class=debug_menutip --class=debug_json --class=F5tool { + set pager=1 + vt_check_plugin_json $vt_plugin_path menu_tip $vtoy_iso_part + + echo -e "\npress ENTER to exit ..." + read vtInputKey + unset pager + } + menuentry 'Check menu class plugin configuration' --class=debug_menuclass --class=debug_json --class=F5tool { set pager=1 vt_check_plugin_json $vt_plugin_path menu_class $vtoy_iso_part