Ventoy Forums

Full Version: Thoughts about Ventoy Menu Extension Plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
It may be convenient to immediately go to the partition with images, of exist /Ventoy/ventoy_Grub.cfg

Code:
function ventoy_ext_menu {   
    if [ -e $vt_plugin_path/ventoy/ventoy_grub.cfg ]; then
    search -s root -f /ventoy/ventoy_grub.cfg
        set ventoy_new_context=1
        configfile $vt_plugin_path/ventoy/ventoy_grub.cfg
        unset ventoy_new_context
    else
       echo "ventoy_grub.cfg NOT exist."
       echo -e "\npress ENTER to exit ..."
       read vtInputKey
    fi
}

Is this my option, what do you think?