1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
package gui import ( _ "embed" "fyne.io/fyne/v2" ) //go:embed totalrecall_256.png var iconData []byte // GetAppIcon returns the application icon as a Fyne resource func GetAppIcon() fyne.Resource { return &fyne.StaticResource{ StaticName: "totalrecall.png", StaticContent: iconData, } }