1
0
mirror of https://git.zx2c4.com/wireguard-windows synced 2024-11-10 16:59:18 +00:00
wireguard-windows/resources.rc
Jason A. Donenfeld 6ed37f30f5 global: bump date
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2022-01-06 17:28:13 +01:00

89 lines
2.4 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* SPDX-License-Identifier: MIT
*
* Copyright (C) 2019-2022 WireGuard LLC. All Rights Reserved.
*/
#include <windows.h>
#pragma code_page(65001) // UTF-8
#define STRINGIZE(x) #x
#define EXPAND(x) STRINGIZE(x)
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST manifest.xml
7 ICON ui/icon/wireguard.ico
8 ICON ui/icon/dot.ico
wireguard.dll RCDATA wireguard.dll
#define VERSIONINFO_TEMPLATE(block_id, lang_id, codepage_id, file_desc, comments) \
VS_VERSION_INFO VERSIONINFO \
FILEVERSION WIREGUARD_VERSION_ARRAY \
PRODUCTVERSION WIREGUARD_VERSION_ARRAY \
FILEOS VOS_NT_WINDOWS32 \
FILETYPE VFT_APP \
FILESUBTYPE VFT2_UNKNOWN \
BEGIN \
BLOCK "StringFileInfo" \
BEGIN \
BLOCK block_id \
BEGIN \
VALUE "CompanyName", "WireGuard LLC" \
VALUE "FileDescription", file_desc \
VALUE "FileVersion", EXPAND(WIREGUARD_VERSION_STR) \
VALUE "InternalName", "wireguard-windows" \
VALUE "LegalCopyright", "Copyright © 2015-2022 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved." \
VALUE "OriginalFilename", "wireguard.exe" \
VALUE "ProductName", "WireGuard" \
VALUE "ProductVersion", EXPAND(WIREGUARD_VERSION_STR) \
VALUE "Comments", comments \
END \
END \
BLOCK "VarFileInfo" \
BEGIN \
VALUE "Translation", lang_id, codepage_id \
END \
END
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
VERSIONINFO_TEMPLATE(
"040904b0", 0x409, 0x4b0,
"WireGuard: Fast, Modern, Secure VPN Tunnel",
"https://www.wireguard.com/"
)
LANGUAGE LANG_FRENCH, SUBLANG_DEFAULT
VERSIONINFO_TEMPLATE(
"040c04b0", 0x40c, 0x4b0,
"WireGuard: tunnel VPN rapide, moderne, sécurisé",
"https://www.wireguard.com/"
)
LANGUAGE LANG_ITALIAN, SUBLANG_DEFAULT
VERSIONINFO_TEMPLATE(
"041004b0", 0x410, 0x4b0,
"WireGuard: Tunnel VPN veloce, moderno e sicuro",
"https://www.wireguard.com/"
)
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
VERSIONINFO_TEMPLATE(
"041104b0", 0x411, 0x4b0,
"WireGuard: 高速で、現代的で、セキュアな VPN トンネル",
"https://www.wireguard.com/"
)
LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
VERSIONINFO_TEMPLATE(
"042404b0", 0x424, 0x4b0,
"WireGuard: hiter, sodoben, varen tunel VPN",
"https://www.wireguard.com/"
)
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
VERSIONINFO_TEMPLATE(
"040404b0", 0x404, 0x4b0,
"WireGuard快速、現代、安全的 VPN 隧道",
"https://www.wireguard.com/"
)