go_dreamfactory/cmd/v2
2023-01-15 12:07:29 +08:00
..
configure/structs 生成测试数据 2022-12-27 17:48:35 +08:00
json 生成测试数据 2022-12-27 17:48:35 +08:00
lib 公会boss挑战 2023-01-11 11:50:47 +08:00
model 改包名 2022-10-08 15:32:51 +08:00
resources 更新工具 2022-12-08 10:54:28 +08:00
service 更改工具配置 2022-12-27 13:42:00 +08:00
theme 优化活跃度初始化 2022-09-21 14:04:44 +08:00
ui 排行优化 2023-01-15 12:07:29 +08:00
.DS_Store 更新工具 2022-12-08 10:54:28 +08:00
app.png 更新配置 2022-09-20 14:40:37 +08:00
build.bat 优化配置同步 2022-09-29 14:57:49 +08:00
FyneApp.toml 设置默认配置 2023-01-07 19:00:22 +08:00
gen_test.go 工具支持读json配置 2022-12-31 18:08:32 +08:00
icon.png 设置icon 2022-08-11 18:07:12 +08:00
main.go 更改工具配置 2022-12-27 13:42:00 +08:00
readme.md 更新gui存储 2022-08-18 21:04:57 +08:00
tpl.txt 生成测试数据 2022-12-27 17:48:35 +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

开发协议参数表单