golang.zx2c4.com/wireguard/windows@v0.5.4-0.20230123132234-dcc0eb72a04b/resources.rc (about)

     1  /* SPDX-License-Identifier: MIT
     2   *
     3   * Copyright (C) 2019-2022 WireGuard LLC. All Rights Reserved.
     4   */
     5  
     6  #include <windows.h>
     7  
     8  #pragma code_page(65001) // UTF-8
     9  
    10  #define STRINGIZE(x) #x
    11  #define EXPAND(x) STRINGIZE(x)
    12  
    13  LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
    14  CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST manifest.xml
    15  7 ICON ui/icon/wireguard.ico
    16  8 ICON ui/icon/dot.ico
    17  wireguard.dll RCDATA wireguard.dll
    18  
    19  #define VERSIONINFO_TEMPLATE(block_id, lang_id, codepage_id, file_desc, comments) \
    20  VS_VERSION_INFO VERSIONINFO \
    21  FILEVERSION    WIREGUARD_VERSION_ARRAY \
    22  PRODUCTVERSION WIREGUARD_VERSION_ARRAY \
    23  FILEOS         VOS_NT_WINDOWS32 \
    24  FILETYPE       VFT_APP \
    25  FILESUBTYPE    VFT2_UNKNOWN \
    26  BEGIN \
    27    BLOCK "StringFileInfo" \
    28    BEGIN \
    29      BLOCK block_id \
    30      BEGIN \
    31        VALUE "CompanyName", "WireGuard LLC" \
    32        VALUE "FileDescription", file_desc \
    33        VALUE "FileVersion", EXPAND(WIREGUARD_VERSION_STR) \
    34        VALUE "InternalName", "wireguard-windows" \
    35        VALUE "LegalCopyright", "Copyright © 2015-2022 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved." \
    36        VALUE "OriginalFilename", "wireguard.exe" \
    37        VALUE "ProductName", "WireGuard" \
    38        VALUE "ProductVersion", EXPAND(WIREGUARD_VERSION_STR) \
    39        VALUE "Comments", comments \
    40      END \
    41    END \
    42    BLOCK "VarFileInfo" \
    43    BEGIN \
    44      VALUE "Translation", lang_id, codepage_id \
    45    END \
    46  END
    47  
    48  LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
    49  VERSIONINFO_TEMPLATE(
    50    "040904b0", 0x409, 0x4b0,
    51    "WireGuard: Fast, Modern, Secure VPN Tunnel",
    52    "https://www.wireguard.com/"
    53  )
    54  
    55  LANGUAGE LANG_FRENCH, SUBLANG_DEFAULT
    56  VERSIONINFO_TEMPLATE(
    57    "040c04b0", 0x40c, 0x4b0,
    58    "WireGuard: tunnel VPN rapide, moderne, sécurisé",
    59    "https://www.wireguard.com/"
    60  )
    61  
    62  LANGUAGE LANG_ITALIAN, SUBLANG_DEFAULT
    63  VERSIONINFO_TEMPLATE(
    64    "041004b0", 0x410, 0x4b0,
    65    "WireGuard: Tunnel VPN veloce, moderno e sicuro",
    66    "https://www.wireguard.com/"
    67  )
    68  
    69  LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
    70  VERSIONINFO_TEMPLATE(
    71    "041104b0", 0x411, 0x4b0,
    72    "WireGuard: 高速で、現代的で、セキュアな VPN トンネル",
    73    "https://www.wireguard.com/"
    74  )
    75  
    76  LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
    77  VERSIONINFO_TEMPLATE(
    78    "042404b0", 0x424, 0x4b0,
    79    "WireGuard: hiter, sodoben, varen tunel VPN",
    80    "https://www.wireguard.com/"
    81  )
    82  
    83  LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
    84  VERSIONINFO_TEMPLATE(
    85    "040404b0", 0x404, 0x4b0,
    86    "WireGuard:快速、現代、安全的 VPN 隧道",
    87    "https://www.wireguard.com/"
    88  )