diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-11-29 11:29:42 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-11-29 11:31:39 +0100 |
| commit | e74f79d225adcc3c908cac61e7c8af8f7f2e2a23 (patch) | |
| tree | e85985403954db391856468444c3dbabadc352e9 | |
| parent | 7391b3b493a22354e7c210a06a29b465c95914f3 (diff) | |
Exports: Add resources file for Windows
Co-authored-by: Simon Rozman <simon@rozman.si>
| -rw-r--r-- | .gitignore | 3 | ||||
| -rw-r--r-- | exports/resources.rc | 33 |
2 files changed, 36 insertions, 0 deletions
@@ -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 <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 |
