package main

// import "github.com/gookit/config"

import "github.com/andlabs/ui"
import _ "github.com/andlabs/ui/winmanifest"

func main() {
	parseConfig()

	initChannel()
	go processEvents()

	// setups up a dnssecsocket()
	go retrySocket()

	// make this the main loop in an attempt to figure out the crashes
	// do not change this until the GUI is stable
	ui.Main(setupCloudUI)
}