diff --git a/winres/gen/json.go b/winres/gen/json.go index 20f9a1c4..3fe9d8fe 100644 --- a/winres/gen/json.go +++ b/winres/gen/json.go @@ -24,8 +24,8 @@ const js = `{ "#1": { "0409": { "identity": { - "name": "", - "version": "" + "name": "ZeroBot-Plugin", + "version": "%s" }, "description": "", "minimum-os": "vista", @@ -64,7 +64,7 @@ const js = `{ "LegalTrademarks": "", "OriginalFilename": "ZBP.EXE", "PrivateBuild": "", - "ProductName": "", + "ProductName": "ZeroBot-Plugin", "ProductVersion": "%s", "SpecialBuild": "" } @@ -96,7 +96,7 @@ func main() { panic(err) } fv := commitcnt.String()[:commitcnt.Len()-1] - _, err = fmt.Fprintf(f, js, fv, banner.Version, time.Now().Format(timeformat), fv, banner.Copyright, banner.Version) + _, err = fmt.Fprintf(f, js, fv, fv, banner.Version, time.Now().Format(timeformat), fv, banner.Copyright+". All Rights Reserved.", banner.Version) if err != nil { panic(err) } diff --git a/winres/winres.json b/winres/winres.json index c55e5a3e..6a310723 100644 --- a/winres/winres.json +++ b/winres/winres.json @@ -11,8 +11,8 @@ "#1": { "0409": { "identity": { - "name": "", - "version": "" + "name": "ZeroBot-Plugin", + "version": "1.7.0.1718" }, "description": "", "minimum-os": "vista", @@ -36,22 +36,22 @@ "#1": { "0000": { "fixed": { - "file_version": "1.7.0.1717", + "file_version": "1.7.0.1718", "product_version": "v1.7.0-beta1", - "timestamp": "2023-03-01T14:34:01+08:00" + "timestamp": "2023-03-01T14:46:48+08:00" }, "info": { "0409": { "Comments": "OneBot plugins based on ZeroBot", "CompanyName": "FloatTech", "FileDescription": "https://github.com/FloatTech/ZeroBot-Plugin", - "FileVersion": "1.7.0.1717", + "FileVersion": "1.7.0.1718", "InternalName": "", - "LegalCopyright": "© 2020 - 2023 FloatTech", + "LegalCopyright": "© 2020 - 2023 FloatTech. All Rights Reserved.", "LegalTrademarks": "", "OriginalFilename": "ZBP.EXE", "PrivateBuild": "", - "ProductName": "", + "ProductName": "ZeroBot-Plugin", "ProductVersion": "v1.7.0-beta1", "SpecialBuild": "" }