forked from docker/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22275 from Microsoft/jstarks/no_rsrc
Windows: Add file version information
- Loading branch information
Showing
12 changed files
with
106 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package main | ||
|
||
import ( | ||
_ "github.com/docker/docker/autogen/winresources" | ||
_ "github.com/docker/docker/autogen/winresources/docker" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package main | ||
|
||
import ( | ||
_ "github.com/docker/docker/autogen/winresources" | ||
_ "github.com/docker/docker/autogen/winresources/dockerd" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#define DOCKER_NAME "Docker Client" | ||
|
||
#include "common.rc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#define DOCKER_NAME "Docker Engine" | ||
|
||
#include "common.rc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
Package winresources is used to embed Windows resources into docker.exe. | ||
These resources are used to provide | ||
* Version information | ||
* An icon | ||
* A Windows manifest declaring Windows version support | ||
The resource object files are generated in hack/make/.go-autogen from | ||
source files in hack/make/.resources-windows. This occurs automatically | ||
when you run hack/make.sh. | ||
These object files are picked up automatically by go build when this package | ||
is included. | ||
*/ | ||
package winresources |