From 05f22e2b6d176bfc689000cb0621938a6c67c9bf Mon Sep 17 00:00:00 2001 From: partisan Date: Tue, 18 Feb 2025 20:59:53 +0000 Subject: [PATCH] Update win_manifest_gen.go --- win_manifest_gen.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/win_manifest_gen.go b/win_manifest_gen.go index 427db4a..daf6a57 100644 --- a/win_manifest_gen.go +++ b/win_manifest_gen.go @@ -99,7 +99,8 @@ func main() { } fileVersion := fmt.Sprintf("%s,%s,%s,%s", v1, v2, v3, v4) - rcContent := fmt.Sprintf(`1 RT_MANIFEST "app.manifest" + // Note: We use "2 RT_MANIFEST" so it doesn't collide with the VERSIONINFO (ID=1). + rcContent := fmt.Sprintf(`2 RT_MANIFEST "app.manifest" 1 VERSIONINFO FILEVERSION %s