backive/cmd/backive_ui/main.go

26 lines
416 B
Go

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()
app := app.NewWithID("to.mmo.backive")
w := app.NewWindow("Hello World!")
backiveui.Init(app, w, config, database)
//w.SetContent(widget.NewLabel("Hello World!"))
w.ShowAndRun()
}