mirror of
https://github.com/HikariKnight/quickpassthrough.git
synced 2025-05-13 22:54:45 -04:00
cleanup of the code and add more data to config
This commit is contained in:
parent
c3be59660d
commit
ef3760879b
6 changed files with 99 additions and 10 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue