Move Go module from github.com/Snider/Core to github.com/host-uk/core to match the new repository location under the host-uk organization. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
32 lines
495 B
Go
32 lines
495 B
Go
package main
|
|
|
|
import (
|
|
"embed"
|
|
"log"
|
|
|
|
"github.com/host-uk/core/runtime"
|
|
"github.com/wailsapp/wails/v3/pkg/application"
|
|
)
|
|
|
|
//go:embed all:public
|
|
var assets embed.FS
|
|
|
|
func main() {
|
|
app := application.New(application.Options{
|
|
Assets: application.AssetOptions{
|
|
Handler: application.AssetFileServerFS(assets),
|
|
},
|
|
})
|
|
|
|
rt, err := runtime.New(app)
|
|
if err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
|
|
app.Services.Add(application.NewService(rt))
|
|
|
|
err = app.Run()
|
|
if err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
}
|