17 lines
313 B
Go
17 lines
313 B
Go
package main
|
|
|
|
import (
|
|
_ "embed"
|
|
|
|
"fyne.io/fyne/v2"
|
|
)
|
|
|
|
//go:embed logo.jpeg
|
|
var logoBytes []byte
|
|
|
|
// appIcon returns the bundled logo as a Fyne resource, used as the
|
|
// application/window icon shown while the editor loads.
|
|
func appIcon() fyne.Resource {
|
|
return fyne.NewStaticResource("logo.jpeg", logoBytes)
|
|
}
|