diff --git a/frontend/wailsjs/go/models.ts b/frontend/wailsjs/go/models.ts index 28aac8d..8a4ce68 100755 --- a/frontend/wailsjs/go/models.ts +++ b/frontend/wailsjs/go/models.ts @@ -41,6 +41,7 @@ export namespace gui { autoSelect: boolean; refreshAfterSuccess: boolean; leadMs: number; + timeSync: boolean; frequentBackoffMs: number; errorBackoffMs: number; timeoutSec: number; @@ -74,6 +75,7 @@ export namespace gui { this.autoSelect = source["autoSelect"]; this.refreshAfterSuccess = source["refreshAfterSuccess"]; this.leadMs = source["leadMs"]; + this.timeSync = source["timeSync"]; this.frequentBackoffMs = source["frequentBackoffMs"]; this.errorBackoffMs = source["errorBackoffMs"]; this.timeoutSec = source["timeoutSec"]; diff --git a/internal/version/version.go b/internal/version/version.go index 56c8dd4..8921562 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -5,10 +5,10 @@ package version // // 构建时可用 ldflags 覆盖(构建脚本就是这么做的): // -// go build -ldflags "-X huya-go/internal/version.Version=0.2.1" -var Version = "0.2.1" +// go build -ldflags "-X huya-go/internal/version.Version=0.3.0" +var Version = "0.3.0" -// Display 返回带 v 前缀的展示版本号,例如 v0.2.1。 +// Display 返回带 v 前缀的展示版本号,例如 v0.3.0。 func Display() string { return "v" + Version } diff --git a/wails.json b/wails.json index 7306240..93195d4 100644 --- a/wails.json +++ b/wails.json @@ -9,7 +9,7 @@ "info": { "companyName": "huya-go", "productName": "虎牙抢购助手", - "productVersion": "0.2.1", + "productVersion": "0.3.0", "copyright": "", "comments": "虎牙活动积分兑换/抢购工具" }