summaryrefslogtreecommitdiffstats
path: root/windows/pica-node.rc
blob: 7d0df4a3a053a7d65efb08a043f515e3b195c09b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/* Resources linked into pica-node.exe by windres.
 *
 * The file names below are looked up along the windres include path, which
 * Makefile.am points at both this directory and the matching build directory,
 * since the manifest is generated by configure while the icon is not.
 */

/* Shown by Explorer for the executable and for shortcuts to it. */
IDI_ICON1 ICON "picapica.ico"

/* The application manifest, as resource 1 (CREATEPROCESS_MANIFEST_RESOURCE_ID)
 * of type 24 (RT_MANIFEST).  Spelled numerically so that the resource script
 * does not have to include windows.h through the cross compiler. */
1 24 "pica-node.exe.manifest"

/* What the Details tab of the file properties dialog shows, and, because this
 * binary is registered as a service, the name the Task Manager lists the
 * process under: that column is the FileDescription value below, not the file
 * name.  The two version macros come from the windres command line in
 * Makefile.am: PICA_WINDOWS_VERSION_COMMAS is the four number form configure
 * derives from the package version, which is the only thing the FILEVERSION
 * field accepts, and PICA_WINDOWS_VERSION_STRING is the package version as it
 * is written everywhere else, which the string fields are free to use. */
1 VERSIONINFO
FILEVERSION    PICA_WINDOWS_VERSION_COMMAS
PRODUCTVERSION PICA_WINDOWS_VERSION_COMMAS
FILEFLAGSMASK  0x3fL
FILEFLAGS      0x0L
FILEOS         0x40004L /* VOS_NT_WINDOWS32 */
FILETYPE       0x1L     /* VFT_APP, there is no separate type for a service */
FILESUBTYPE    0x0L
BEGIN
	BLOCK "StringFileInfo"
	BEGIN
		/* 0409 is US English, 04E4 is code page 1252.  The pair has to
		 * match the Translation value at the bottom, which is what the
		 * property sheet looks the block up by. */
		BLOCK "040904E4"
		BEGIN
			VALUE "CompanyName",      "picapica.im"
			VALUE "FileDescription",  "Pica Pica Node"
			VALUE "FileVersion",      PICA_WINDOWS_VERSION_STRING
			VALUE "InternalName",     "pica-node"
			VALUE "LegalCopyright",   "Copyright (c) 2012 - 2026 Anton Sviridenko"
			VALUE "OriginalFilename", "pica-node.exe"
			VALUE "ProductName",      "Pica Pica Node"
			VALUE "ProductVersion",   PICA_WINDOWS_VERSION_STRING
		END
	END
	BLOCK "VarFileInfo"
	BEGIN
		VALUE "Translation", 0x409, 1252
	END
END