Is this making you happy mr. gates?
This commit is contained in:
parent
bbf872808f
commit
a96ff58256
1 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue