要求golang版本 1.16
安装fyne工具cassandraql go get fyne.io/fyne/cmd/fyne
添加图标cassandraql fyne bundle icon.png >> bundled.go
使用图标cassandraql a.SetIcon(resourceIconPng)
fyne package -os windows -icon static/icon.png
或者
go build -ldflags="-H windowsgui -w -s"