mirror of https://github.com/qwc/backive.git
26 lines
416 B
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()
|
|
}
|