windows is so weird

This commit is contained in:
Internet Addict 2025-02-18 22:05:01 +00:00
parent 05f22e2b6d
commit bbf872808f

View file

@ -100,9 +100,9 @@ func main() {
fileVersion := fmt.Sprintf("%s,%s,%s,%s", v1, v2, v3, v4) 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). // Note: We use "2 RT_MANIFEST" so it doesn't collide with the VERSIONINFO (ID=1).
rcContent := fmt.Sprintf(`2 RT_MANIFEST "app.manifest" rcContent := fmt.Sprintf(`1 24 "app.manifest"
1 VERSIONINFO 2 VERSIONINFO
FILEVERSION %s FILEVERSION %s
PRODUCTVERSION %s PRODUCTVERSION %s
FILEFLAGSMASK 0x3fL FILEFLAGSMASK 0x3fL