"vscode:/vscode.git/clone" did not exist on "06fc96b92070fecfb9e16c7ddcb46443f22f0d68"
Commit c7dcaa57 authored by longpanda's avatar longpanda
Browse files

1. Fix the blank item in the last of Language select menu

2. Fix the menu display VTLANG_NO_PERSISTENCE issue when use persistence
parent 4b17ee30
...@@ -3858,7 +3858,7 @@ static grub_err_t ventoy_cmd_sel_persistence(grub_extcmd_context_t ctxt, int arg ...@@ -3858,7 +3858,7 @@ static grub_err_t ventoy_cmd_sel_persistence(grub_extcmd_context_t ctxt, int arg
vtoy_ssprintf(buf, pos, "set timeout=%d\n", node->timeout); vtoy_ssprintf(buf, pos, "set timeout=%d\n", node->timeout);
} }
vtoy_ssprintf(buf, pos, "menuentry \"$VTLANG_NO_PERSISTENCE\" --class=\"sel_persistence\" {\n" vtoy_ssprintf(buf, pos, "menuentry \"$VTLANG_NO_PERSIST\" --class=\"sel_persistence\" {\n"
" echo %s\n}\n", ""); " echo %s\n}\n", "");
for (i = 0; i < node->backendnum; i++) for (i = 0; i < node->backendnum; i++)
......
...@@ -103,7 +103,7 @@ ls -1 menu/ | grep -v 'zh_CN' | sort | while read vtlang; do ...@@ -103,7 +103,7 @@ ls -1 menu/ | grep -v 'zh_CN' | sort | while read vtlang; do
echo " vt_load_menu_lang $vtlangname" >> menulang.cfg echo " vt_load_menu_lang $vtlangname" >> menulang.cfg
echo "}" >> menulang.cfg echo "}" >> menulang.cfg
done done
echo "menuentry \"$VTLANG_RETURN_PREVIOUS\" --class=vtoyret VTOY_RET {" >> menulang.cfg echo "menuentry \"\$VTLANG_RETURN_PREVIOUS\" --class=vtoyret VTOY_RET {" >> menulang.cfg
echo " echo \"Return ...\"" >> menulang.cfg echo " echo \"Return ...\"" >> menulang.cfg
echo "}" >> menulang.cfg echo "}" >> menulang.cfg
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment