package main import ( "fyne.io/fyne/v2/app" "github.com/qwc/backive" backiveui "github.com/qwc/backive/ui" ) var ( config backive.Configuration database backive.Database ) func main() { database.Load() config.Load() backive.Init(config, database) app := app.NewWithID("Backive UI") backiveui.Init(app, nil, config, database) go func() { backiveui.NotificationRun() }() app.Run() }