flatface.go:Fixed useless rest of newline characters
This commit is contained in:
parent
f917450a0a
commit
1e2e94ba4d
@ -59,6 +59,7 @@ func listPak() {
|
||||
fmt.Print("\n", "Results for ", ": \n\n", string(out), "\n\n")
|
||||
}
|
||||
|
||||
//// TODO
|
||||
/*
|
||||
func optionsMenu() {
|
||||
var choice string
|
||||
@ -78,18 +79,18 @@ func updatePak() {
|
||||
if err != nil {
|
||||
log.Fatalf("cmd.Run() failed with %s\n", err)
|
||||
}
|
||||
fmt.Print("\n", "\n\n", string(out), "\n\n")
|
||||
fmt.Print(string(out))
|
||||
}
|
||||
|
||||
func checkRepo() {
|
||||
print("\nSyncing repos...\n\n")
|
||||
print("\nSyncing repos...\n")
|
||||
cmd := exec.Command("flatpak", "remote-add", "--if-not-exists", "flathub", "https://flathub.org/repo/flathub.flatpakrepo")
|
||||
out, err := cmd.CombinedOutput()
|
||||
updatePak()
|
||||
if err != nil {
|
||||
log.Fatalf("cmd.Run() failed with %s\n", err)
|
||||
}
|
||||
fmt.Print("\n", "\n\n", string(out), "\n\n")
|
||||
fmt.Print(string(out))
|
||||
}
|
||||
func mainMenu() {
|
||||
print("\n\n| FlatFace v0.0.1a |\n\n")
|
||||
|
Loading…
x
Reference in New Issue
Block a user