First real commit. Setting up for full CI/CD and testing pipeline

This commit is contained in:
2026-11-04 22:30:59 +01:00
parent cbb843344e
commit e08c997914
26 changed files with 3561 additions and 198 deletions

46
main.go Normal file
View File

@@ -0,0 +1,46 @@
package main
import (
"embed"
"github.com/wailsapp/wails/v2"
"github.com/wailsapp/wails/v2/pkg/options"
"github.com/wailsapp/wails/v2/pkg/options/assetserver"
"fast_reader/app"
)
//go:embed all:frontend/dist
var assets embed.FS
func main() {
application := app.NewApp()
err := wails.Run(&options.App{
Title: "Fast Reader Training",
Width: 1000,
Height: 700,
MinWidth: 700,
MinHeight: 500,
AssetServer: &assetserver.Options{
Assets: assets,
},
BackgroundColour: &options.RGBA{
R: 18,
G: 18,
B: 24,
A: 1,
},
OnStartup: application.Startup,
Bind: []interface{}{
application,
},
})
if err != nil {
println("Error:", err.Error())
}
}