X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/f434d1f5d0a7e75f5a289b8350f2fe7b4487148f..05bbef63c1951a3e152d69461b893927bf8b1e8a:/INSTALL/grub/debug.cfg diff --git a/INSTALL/grub/debug.cfg b/INSTALL/grub/debug.cfg index 1bf076d..9439496 100644 --- a/INSTALL/grub/debug.cfg +++ b/INSTALL/grub/debug.cfg @@ -1,5 +1,5 @@ # -# VTLANG_TEMP_SETTING must be the first +# VTLANG_CTRL_TEMP_SET must be the first # And the inside item order can not be changed # submenu "$VTLANG_CTRL_TEMP_SET" --class=debug_temp_set --class=F5tool { @@ -12,8 +12,17 @@ submenu "$VTLANG_CTRL_TEMP_SET" --class=debug_temp_set --class=F5tool { fi } - menuentry "[ $VTOY_LINUX_REMOUNT ] $VTLANG_LINUX_REMOUNT" --class=debug_temp_linux_remount --class=debug_temp_set --class=F5tool \ + menuentry "[ $VTOY_WIN11_BYPASS_NRO ] $VTLANG_WIN11_BYPASS_NRO" --class=debug_temp_win11_nro --class=debug_temp_set --class=F5tool \ VTOY_RUN_SET1 { + if [ "$VTOY_WIN11_BYPASS_NRO" = "0" ]; then + set VTOY_WIN11_BYPASS_NRO=1 + else + set VTOY_WIN11_BYPASS_NRO=0 + fi + } + + menuentry "[ $VTOY_LINUX_REMOUNT ] $VTLANG_LINUX_REMOUNT" --class=debug_temp_linux_remount --class=debug_temp_set --class=F5tool \ + VTOY_RUN_SET2 { if [ "$VTOY_LINUX_REMOUNT" = "0" ]; then set VTOY_LINUX_REMOUNT=1 else @@ -22,7 +31,7 @@ submenu "$VTLANG_CTRL_TEMP_SET" --class=debug_temp_set --class=F5tool { } menuentry "[ $VTOY_SECONDARY_BOOT_MENU ] $VTLANG_SECONDARY_BOOT_MENU" --class=debug_temp_second_menu --class=debug_temp_set --class=F5tool \ - VTOY_RUN_SET2 { + VTOY_RUN_SET3 { if [ "$VTOY_SECONDARY_BOOT_MENU" = "0" ]; then set VTOY_SECONDARY_BOOT_MENU=1 else