- 新增设置弹窗: trace开关/正文上限、日志等级(debug/info/warn/error)、并发数、重试次数 - 配置运行时生效,持久化到 config.json - 日志系统支持 debug 级别过滤 - 工具栏展示版本号(v0.0.2),来源 wails.json + constants.go - 抢购并发数和重试次数改为读取配置,不再写死常量 - 新增 build.sh 构建脚本,Windows exe 文件名带版本号 - config.json 加入 .gitignore
17 lines
374 B
JSON
17 lines
374 B
JSON
{
|
|
"$schema": "https://wails.io/schemas/config.v2.json",
|
|
"name": "douyu_go",
|
|
"outputfilename": "douyu_go",
|
|
"version": "0.0.2",
|
|
"frontend:dir": "frontend",
|
|
"frontend:install": "",
|
|
"frontend:build": "",
|
|
"frontend:dev:watcher": "",
|
|
"frontend:dev:serverUrl": "",
|
|
"wailsjsdir": "frontend",
|
|
"author": {
|
|
"name": "yml",
|
|
"email": "yml@example.com"
|
|
}
|
|
}
|