chore(version): 升级版本号至 0.4.0 并完成 Windows 可执行程序构建

- 版本更新:同步更新 internal/constants/constants.go 与 wails.json 版本号为 0.4.0
- 二进制构建:通过 ./build.sh win 交叉编译生成 douyu_go_v0.4.0_26.10.25_windows_amd64.exe
- 验证方式:构建输出验证通过,前端绑定、资源打包与可执行文件生成正常
This commit is contained in:
yml2213
2026-10-25 11:18:28 +08:00
parent bc366fd6b9
commit d621493dc1
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ package constants
import "time"
// Version 应用版本号,与 wails.json version 同步。
const Version = "0.3.8"
const Version = "0.4.0"
// BuildTime 构建时间,由编译时 ldflags 注入。
var BuildTime = "unknown"
+2 -2
View File
@@ -2,7 +2,7 @@
"$schema": "https://wails.io/schemas/config.v2.json",
"name": "douyu_go",
"outputfilename": "douyu_go",
"version": "0.3.8",
"version": "0.4.0",
"frontend:dir": "frontend",
"frontend:install": "npm install",
"frontend:build": "npm run build",
@@ -15,6 +15,6 @@
"email": "yml@example.com"
},
"info": {
"productVersion": "0.3.8"
"productVersion": "0.4.0"
}
}