mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
4677f8036e
This change adds file version information to docker.exe and dockerd.exe by adding a Windows version resource with the windres tool. This change adds a dependency to binutils-mingw-w64 on Linux, but removes a dependency on rsrc. Most Windows build environments should already have windres if they have gcc (which is necessary to build dockerd). Signed-off-by: John Starks <jostarks@microsoft.com>
38 lines
660 B
Text
38 lines
660 B
Text
// Application icon
|
|
1 ICON "docker.ico"
|
|
|
|
// Windows executable manifest
|
|
1 24 /* RT_MANIFEST */ "docker.exe.manifest"
|
|
|
|
// Version information
|
|
1 VERSIONINFO
|
|
|
|
#ifdef DOCKER_VERSION_QUAD
|
|
FILEVERSION DOCKER_VERSION_QUAD
|
|
PRODUCTVERSION DOCKER_VERSION_QUAD
|
|
#endif
|
|
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "000004B0"
|
|
BEGIN
|
|
VALUE "ProductName", DOCKER_NAME
|
|
|
|
#ifdef DOCKER_VERSION
|
|
VALUE "FileVersion", DOCKER_VERSION
|
|
VALUE "ProductVersion", DOCKER_VERSION
|
|
#endif
|
|
|
|
#ifdef DOCKER_COMMIT
|
|
VALUE "OriginalFileName", DOCKER_COMMIT
|
|
#endif
|
|
|
|
END
|
|
END
|
|
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x0000, 0x04B0
|
|
END
|
|
END
|