flatface.go:checkRepo func now runs outside of loop with clearer messaging
This commit is contained in:
parent
b204c2f0bd
commit
72597bcd92
@ -82,7 +82,7 @@ func updatePak() {
|
||||
}
|
||||
|
||||
func checkRepo() {
|
||||
print("\nChecking for repos...\n\n")
|
||||
print("\nSyncing repos...\n\n")
|
||||
cmd := exec.Command("flatpak", "remote-add", "--if-not-exists", "flathub", "https://flathub.org/repo/flathub.flatpakrepo")
|
||||
out, err := cmd.CombinedOutput()
|
||||
updatePak()
|
||||
@ -123,9 +123,8 @@ func mainMenu() {
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
||||
for {
|
||||
checkRepo()
|
||||
for {
|
||||
mainMenu()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user