diff --git a/src/icon.png b/src/icon.png new file mode 100644 index 0000000..067ee50 Binary files /dev/null and b/src/icon.png differ diff --git a/src/main.go b/src/main.go index 46aec63..cb619dd 100644 --- a/src/main.go +++ b/src/main.go @@ -19,6 +19,10 @@ import ( func main() { a := app.New() + iconResource, err := fyne.LoadResourceFromPath("icon.png") + if err == nil { + a.SetIcon(iconResource) + } w := a.NewWindow("GUI FFMpeg!") w.Resize(fyne.Size{Width: 800, Height: 600}) w.CenterOnScreen()