From a96ff582569e9561305685d5178a94d548ab6497 Mon Sep 17 00:00:00 2001 From: partisan Date: Tue, 18 Feb 2025 22:10:02 +0000 Subject: [PATCH] Is this making you happy mr. gates? --- win_manifest_gen.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/win_manifest_gen.go b/win_manifest_gen.go index f6c3095..4fd09bc 100644 --- a/win_manifest_gen.go +++ b/win_manifest_gen.go @@ -100,9 +100,7 @@ func main() { fileVersion := fmt.Sprintf("%s,%s,%s,%s", v1, v2, v3, v4) // Note: We use "2 RT_MANIFEST" so it doesn't collide with the VERSIONINFO (ID=1). - rcContent := fmt.Sprintf(`1 24 "app.manifest" - -2 VERSIONINFO + rcContent := fmt.Sprintf(`1 VERSIONINFO FILEVERSION %s PRODUCTVERSION %s FILEFLAGSMASK 0x3fL @@ -134,6 +132,8 @@ BEGIN VALUE "Translation", 0x0409, 1252 END END + +2 24 "app.manifest" `, fileVersion, fileVersion, *company, *description, *version, *internalName, *internalName, *name, *version, *officialURL, *devURL) if err := os.WriteFile("app.rc", []byte(rcContent), 0644); err != nil {