summaryrefslogtreecommitdiff
path: root/exports/resources.rc
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-11-29 11:29:42 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2024-11-29 11:31:39 +0100
commite74f79d225adcc3c908cac61e7c8af8f7f2e2a23 (patch)
treee85985403954db391856468444c3dbabadc352e9 /exports/resources.rc
parent7391b3b493a22354e7c210a06a29b465c95914f3 (diff)
Exports: Add resources file for Windows
Co-authored-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'exports/resources.rc')
-rw-r--r--exports/resources.rc33
1 files changed, 33 insertions, 0 deletions
diff --git a/exports/resources.rc b/exports/resources.rc
new file mode 100644
index 0000000..b7fd590
--- /dev/null
+++ b/exports/resources.rc
@@ -0,0 +1,33 @@
+#include <windows.h>
+
+#pragma code_page(65001) // UTF-8
+
+#define STRINGIZE(x) #x
+#define EXPAND(x) STRINGIZE(x)
+
+LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
+VS_VERSION_INFO VERSIONINFO
+FILEVERSION VERSION_ARRAY
+PRODUCTVERSION VERSION_ARRAY
+FILEOS VOS_NT_WINDOWS32
+FILETYPE VFT_DLL
+FILESUBTYPE VFT2_UNKNOWN
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904b0"
+ BEGIN
+ VALUE "CompanyName", "SURF & GÉANT"
+ VALUE "FileDescription", "Common eduVPN client library"
+ VALUE "FileVersion", EXPAND(VERSION)
+ VALUE "InternalName", "eduvpn-common"
+ VALUE "LegalCopyright", "Copyright © 2022 Jeroen Wijenbergh"
+ VALUE "ProductName", "eduVPN"
+ VALUE "ProductVersion", EXPAND(VERSION)
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 0x4b0
+ END
+END