From e74f79d225adcc3c908cac61e7c8af8f7f2e2a23 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Fri, 29 Nov 2024 11:29:42 +0100 Subject: Exports: Add resources file for Windows Co-authored-by: Simon Rozman --- .gitignore | 3 +++ exports/resources.rc | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 exports/resources.rc diff --git a/.gitignore b/.gitignore index 861eba7..f675683 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,6 @@ # coverage profile /common.cov + +# Windows resources +/exports/resources_*.syso 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 + +#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 -- cgit v1.2.3