mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-08-28 08:21:14 +00:00
support different themes for Legacy BIOS mode and UEFI mode
This commit is contained in:
@@ -19,6 +19,27 @@ submenu 'Check plugin json configuration (ventoy.json)' --class=debug_json {
|
||||
unset pager
|
||||
}
|
||||
|
||||
if [ "$grub_platform" = "pc" ]; then
|
||||
menuentry 'Check legacy theme plugin configuration' --class=debug_theme_legacy {
|
||||
set pager=1
|
||||
vt_check_plugin_json $vt_plugin_path theme_legacy $vtoy_iso_part
|
||||
|
||||
echo -e "\npress ENTER to exit ..."
|
||||
read vtInputKey
|
||||
unset pager
|
||||
}
|
||||
else
|
||||
menuentry 'Check uefi theme plugin configuration' --class=debug_theme_uefi {
|
||||
set pager=1
|
||||
vt_check_plugin_json $vt_plugin_path theme_uefi $vtoy_iso_part
|
||||
|
||||
echo -e "\npress ENTER to exit ..."
|
||||
read vtInputKey
|
||||
unset pager
|
||||
}
|
||||
fi
|
||||
|
||||
|
||||
menuentry 'Check auto install plugin configuration' --class=debug_autoinstall {
|
||||
set pager=1
|
||||
vt_check_plugin_json $vt_plugin_path auto_install $vtoy_iso_part
|
||||
|
Reference in New Issue
Block a user