You can set { "VTOY_DEFAULT_IMAGE": "F2>" } to set F2 browser as the default menu entry.

This commit is contained in:
longpanda 2022-02-22 20:20:59 +08:00
parent 5b0fca8468
commit d0744513a6

View File

@ -2318,8 +2318,11 @@ if [ -n "$VTOY_DEFAULT_IMAGE" ]; then
export timeout
export default
if [ "$vtHotkey" = "F4" ]; then
if [ "$vtHotkey" = "F2" ]; then
unset timeout
vt_browser_disk
elif [ "$vtHotkey" = "F4" ]; then
ventoy_localboot
elif [ "$vtHotkey" = "F5" ]; then
ventoy_diagnosis