Przeglądaj źródła

build: Fix strings in versioninfo for Windows (fixes #7340) (#7342)

tomasz1986 5 lat temu
rodzic
commit
4e7510dea9
1 zmienionych plików z 8 dodań i 5 usunięć
  1. 8 5
      build.go

+ 8 - 5
build.go

@@ -666,11 +666,14 @@ func shouldBuildSyso(dir string) (string, error) {
 			},
 			},
 		},
 		},
 		"StringFileInfo": M{
 		"StringFileInfo": M{
-			"FileDescription": "Open Source Continuous File Synchronization",
-			"LegalCopyright":  "The Syncthing Authors",
-			"FileVersion":     version,
-			"ProductVersion":  version,
-			"ProductName":     "Syncthing",
+			"CompanyName":      "The Syncthing Authors",
+			"FileDescription":  "Syncthing - Open Source Continuous File Synchronization",
+			"FileVersion":      version,
+			"InternalName":     "syncthing",
+			"LegalCopyright":   "The Syncthing Authors",
+			"OriginalFilename": "syncthing",
+			"ProductName":      "Syncthing",
+			"ProductVersion":   version,
 		},
 		},
 		"IconPath": "assets/logo.ico",
 		"IconPath": "assets/logo.ico",
 	})
 	})