Add firmware selector

This commit is contained in:
2025-10-12 16:09:39 -04:00
parent 28a8b46af1
commit f8cec72325
3 changed files with 66 additions and 2 deletions
+9 -1
View File
@@ -9,7 +9,12 @@ import (
func premount() {
for {
choice := front.InputMenuGen("Tweak:", []string{"BACK", "enable ext4 fast_commit"})
var choice int
if performAllTweaks {
choice = 2
} else {
choice = front.InputMenuGen("Tweak:", []string{"BACK", "enable ext4 fast_commit"})
}
switch choice {
case 1:
return
@@ -20,5 +25,8 @@ func premount() {
other.PrintError("Failed to enable fast_commit", 1)
}
}
if !performAllTweaks {
break
}
}
}