package app import ( "fyne.io/fyne/v2" "fyne.io/fyne/v2/app" "gitea.mmo.to/ProtocolPacketForger/ppf/internal/ui" ) var fyneApp fyne.App var w fyne.Window func Appmain() { fyneApp = app.New() w = fyneApp.NewWindow("ProtocolPacketForger") w.Resize(fyne.NewSize(1024, 768)) w.SetContent(CreateApp()) w.ShowAndRun() } func CreateApp() *fyne.Container { ppf := ui.NewPPF(fyneApp, w) return ppf.GetContainer() }