diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -40,6 +40,10 @@ func main() { // locking the main thread into an OS thread fixes the problem runtime.LockOSThread() + conf := parseConfig() + initPrinter() + + flag.BoolVar(&conf.SelectGateway, "select-gateway", false, "Enable gateway selection") versionFlag := flag.Bool("version", false, "Version of the bitmask-systray") flag.Parse() if *versionFlag { @@ -57,9 +61,6 @@ func main() { } defer releasePID() - conf := parseConfig() - initPrinter() - notify := newNotificator(conf) b, err := initBitmask() |