Skip to content

Commit

Permalink
Removed debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebQ42 committed Jun 8, 2018
1 parent 78d3723 commit c442ef5
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions main.go
Expand Up @@ -2,11 +2,10 @@ package main

import (
"encoding/gob"
"flag"
"fmt"
"os"

"github.com/CalebQ42/LinuxPA/appimg"

"github.com/gotk3/gotk3/gtk"
)

Expand All @@ -29,18 +28,12 @@ var (
)

func main() {
_, err := appimg.GetDesktopFile("gimp.AppImage")
if err == nil {
os.Rename("/tmp/my.desktop", "PortableApps/stuff.desktop")
} else {
println("error:", err)
}
// forced := flag.Bool("force-update", false, "Force the update dialog to be shown")
// flag.Parse()
// os.MkdirAll("PortableApps/LinuxPACom", 0777)
// master = make(map[string][]app)
// linmaster = make(map[string][]app)
// uiStart(*forced)
forced := flag.Bool("force-update", false, "Force the update dialog to be shown")
flag.Parse()
os.MkdirAll("PortableApps/LinuxPACom", 0777)
master = make(map[string][]app)
linmaster = make(map[string][]app)
uiStart(*forced)
}

func uiStart(forced bool) {
Expand Down

0 comments on commit c442ef5

Please sign in to comment.