1
0
mirror of https://github.com/Adorable-Catgirl/Zorya-NEO.git synced 2024-11-23 18:58:06 +11:00
Zorya-NEO/utils/installer/menus/bios.lua

16 lines
513 B
Lua
Raw Permalink Normal View History

2020-06-06 10:45:08 +10:00
function menu.bios()
local biossel = menu.create()
biossel:add(menu.text(lang.getstring("menu_bios_select")))
local bios = menu.select {
{text = lang.getstring("bios_type_managed"), value = "managed"},
{text = lang.getstring("bios_type_initramfs"), value = "initramfs"},
{text = lang.getstring("bios_type_prom"), value = "prom"},
{text = lang.getstring("bios_type_osdi"), value = "osdi"},
}
bios:select(function(v)
biossel:destroy()
menu["bios_"..v]()
end)
biossel:add(bios)
biossel:draw()
end