summaryrefslogtreecommitdiffstats
path: root/windows/pica-node.rc
diff options
context:
space:
mode:
authorAnton <anton@picapica.im>2026-11-24 02:40:10 +0400
committerAnton <anton@picapica.im>2026-11-24 02:40:10 +0400
commit48417c1da102dc9eb332227237805b8e28f81f97 (patch)
tree53defd47a60bf505a3431a0ae4193b1e40b29c2e /windows/pica-node.rc
parent3922dcc4c4822cc626d62f73ddefbe4fce8e94e5 (diff)
parent98d341e2e55852f075001c6c2d084d025a97383f (diff)
downloadpica-pica-master.tar.gz
pica-pica-master.zip
Merge branch 'audio_video_calls'HEADmaster
Diffstat (limited to 'windows/pica-node.rc')
-rw-r--r--windows/pica-node.rc54
1 files changed, 54 insertions, 0 deletions
diff --git a/windows/pica-node.rc b/windows/pica-node.rc
new file mode 100644
index 0000000..7d0df4a
--- /dev/null
+++ b/windows/pica-node.rc
@@ -0,0 +1,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