From adacf59d97b205e5e6276b4c06349632018a1a9a Mon Sep 17 00:00:00 2001 From: zyxkad Date: Mon, 11 Mar 2024 11:46:50 -0600 Subject: [PATCH] fix wix version range --- scripts/build-windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-windows.go b/scripts/build-windows.go index f15a1d3..0d2c2f0 100644 --- a/scripts/build-windows.go +++ b/scripts/build-windows.go @@ -56,7 +56,7 @@ func main() { } } - wixVersion := fmt.Sprintf("1.%d.%d.%d", now.Year(), now.YearDay(), now.Hour()*60+now.Minute()) + wixVersion := fmt.Sprintf("1.%d.%d.%d", now.Year() / 100, now.Year() % 100 * 400 + now.YearDay(), now.Hour()*60+now.Minute()) fmt.Println("wixVersion:", wixVersion) signtool = searchSignTool()