summaryrefslogtreecommitdiff
path: root/main.go
blob: 76343ebb1d353f26fb02e89cdb23ed57261c87a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package main

import (
	"log"

	"0xacab.org/leap/bitmask-systray/bitmask"
)

const (
	provider = "riseup.net"
)

func main() {
	// TODO: do I need to bootstrap the provider?
	conf, err := parseConfig()
	if err != nil {
		log.Fatal(err)
	}

	go notificate(conf)

	b, err := bitmask.Init()
	if err != nil {
		log.Fatal(err)
	}

	run(b, conf)
}