mirror of
https://github.com/ventoy/Ventoy.git
synced 2026-04-23 14:16:17 +00:00
Improve for UEFI boot Windows/WinPE resolution issue fix.
This commit is contained in:
@@ -41,12 +41,15 @@ if [ "$grub_platform" != "pc" ]; then
|
||||
set vtActive0="[ ]"
|
||||
set vtActive1="[ ]"
|
||||
set vtActive2="[ ]"
|
||||
set vtActive3="[ ]"
|
||||
if [ "$VTOY_WIN_UEFI_RES_LOCK" = "0" ]; then
|
||||
set vtActive0="[*]"
|
||||
elif [ "$VTOY_WIN_UEFI_RES_LOCK" = "1" ]; then
|
||||
set vtActive1="[*]"
|
||||
elif [ "$VTOY_WIN_UEFI_RES_LOCK" = "2" ]; then
|
||||
set vtActive2="[*]"
|
||||
elif [ "$VTOY_WIN_UEFI_RES_LOCK" = "3" ]; then
|
||||
set vtActive3="[*]"
|
||||
fi
|
||||
|
||||
menuentry "$vtActive0 $VTLANG_UEFI_RES_LOCK_NONE" --class=debug_uefi_res_lock0 --class=F5tool VTOY_RUN_SET_0_1 {
|
||||
@@ -58,6 +61,9 @@ if [ "$grub_platform" != "pc" ]; then
|
||||
menuentry "$vtActive2 $VTLANG_UEFI_RES_LOCK_1024_768" --class=debug_uefi_res_lock2 --class=F5tool VTOY_RUN_SET_2_1 {
|
||||
set VTOY_WIN_UEFI_RES_LOCK=2
|
||||
}
|
||||
menuentry "$vtActive3 $VTLANG_UEFI_RES_LOCK_BE1024_768" --class=debug_uefi_res_lock3 --class=F5tool VTOY_RUN_SET_3_1 {
|
||||
set VTOY_WIN_UEFI_RES_LOCK=3
|
||||
}
|
||||
|
||||
menuentry "$VTLANG_RETURN_PREVIOUS" --class=vtoyret VTOY_RET {
|
||||
echo "Return ..."
|
||||
|
||||
Reference in New Issue
Block a user