cleanup of the code and add more data to config

This commit is contained in:
HikariKnight 2023-04-08 23:40:23 +02:00
parent c3be59660d
commit ef3760879b
6 changed files with 99 additions and 10 deletions

View file

@ -11,8 +11,6 @@ import (
func (m *model) processSelection() {
switch m.focused {
case GPUS:
configs.InitConfigs()
// Gets the selected item
selectedItem := m.lists[m.focused].SelectedItem()
@ -58,12 +56,17 @@ func (m *model) processSelection() {
m.focused++
case VBIOS:
// This is just an OK Dialog
m.focused++
case VIDEO:
// This is a YESNO Dialog
m.focused++
case INTRO:
// This is an OK Dialog
// Create the config folder and the files related to this system
configs.InitConfigs()
m.focused++
case DONE: