minimal ui

This commit is contained in:
2025-02-03 19:07:21 +01:00
parent 87b3d32901
commit 7dfe0b06aa
6 changed files with 149 additions and 14 deletions

View File

@ -2,6 +2,7 @@ package main
import (
"embed"
"wails-svelte-tailwind-ts/things"
"github.com/wailsapp/wails/v2"
"github.com/wailsapp/wails/v2/pkg/options"
@ -14,6 +15,7 @@ var assets embed.FS
func main() {
// Create an instance of the app structure
app := NewApp()
things := things.NewThingsService()
// Create application with options
err := wails.Run(&options.App{
@ -27,6 +29,7 @@ func main() {
OnStartup: app.startup,
Bind: []interface{}{
app,
things,
},
})