go_dreamfactory/cmd/v2
2022-09-15 17:08:46 +08:00
..
lib/common update 2022-09-07 15:58:38 +08:00
model update 2022-09-07 15:58:38 +08:00
resources 更新随件任务条件 2022-09-15 16:20:29 +08:00
service 增加功能列表协议 2022-09-08 15:49:17 +08:00
theme 更新gui 2022-08-23 16:43:38 +08:00
ui 修复在线好友 2022-09-15 17:08:46 +08:00
build.bat package 2022-08-09 18:37:56 +08:00
icon.png 设置icon 2022-08-11 18:07:12 +08:00
main.go 更新随机任务 2022-08-24 09:43:49 +08:00
readme.md 更新gui存储 2022-08-18 21:04:57 +08:00

install tool

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

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

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

package

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

开发协议参数表单