chore: disable unused gui flag, we are always in tui mode

This commit is contained in:
HikariKnight 2024-03-30 15:07:01 +01:00
parent 1f059e0a96
commit cf47ece4a8
2 changed files with 3 additions and 5 deletions

View file

@ -18,9 +18,7 @@ func main() {
if pArg.Flag["version"] {
fmt.Printf("QuickPassthrough Version %s\n", version.Version)
os.Exit(0)
}
if !pArg.Flag["gui"] {
} else {
downloader.CheckLsIOMMU()
internal.Tui()
}

View file

@ -78,9 +78,9 @@ func NewParams() *Params {
}
// Add all parsed arguments to a struct for portability since we will use them all over the program
pArg.addFlag("gui", *gui)
pArg.addFlag("version", *version)
/*pArg.addFlag("gpu", *gpu)
/*pArg.addFlag("gui", *gui)
pArg.addFlag("gpu", *gpu)
pArg.addFlag("usb", *usb)
pArg.addFlag("nic", *nic)
pArg.addFlag("sata", *sata)