## install tool

<!-- https://sourceforge.net/projects/mingw/files/Installer/mingw-get-setup.exe/download -->

go install fyne.io/fyne/v2/cmd/fyne@latest

## install font

### fyne CLI 打包

fyne bundle msyh.ttc >> bundled.go
-- 打包粗体
fyne bundle -append msyhbd.ttc >> bundled.go
(不要使用powershell 或vscode自带终端)

## icon

1.  
将静态资源编译为 go 文件
fyne bundle fav.png >> bundled.go
如果是要追加资源
fyne bundle -append image2.jpg >> bundled.go

2.
a := app.New()
a.SetIcon(resourceFavPng)

## package

fyne package --name robotGUI-1.0.0 -os windows -icon Icon.png

## 开发协议参数表单

1.
2.
3.
