mirror of
https://github.com/zealdocs/zeal.git
synced 2024-11-26 15:43:49 +03:00
app: Fix version info encoding
This commit is contained in:
parent
ace9c11084
commit
3812d2e22e
@ -11,16 +11,7 @@ else()
|
||||
endif()
|
||||
|
||||
set(PROJECT_COMPANY_NAME "ZealDocs")
|
||||
|
||||
# CMake <= 3.8.0 doesn't support Unicode on Windows:
|
||||
# https://gitlab.kitware.com/cmake/cmake/commit/335a29cb07a8d014a9ed4d4dbf25e49da3a78b33
|
||||
# Comparing with 3.8.1 to catch 3.8.0-rc1: https://gitlab.kitware.com/cmake/cmake/issues/16656
|
||||
if(WIN32 AND CMAKE_VERSION VERSION_LESS 3.8.1)
|
||||
string(TIMESTAMP PROJECT_COPYRIGHT "(C) 2015-%Y Oleg Shparber" UTC)
|
||||
else()
|
||||
string(TIMESTAMP PROJECT_COPYRIGHT "© 2015-%Y Oleg Shparber" UTC)
|
||||
endif()
|
||||
|
||||
string(TIMESTAMP PROJECT_COPYRIGHT "© 2015-2017 Oleg Shparber" UTC)
|
||||
set(PROJECT_DESCRIPTION "A simple documentation browser.")
|
||||
set(PROJECT_URL "https://zealdocs.org")
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
#include <winver.h>
|
||||
|
||||
#pragma code_page(65001)
|
||||
|
||||
IDI_ICON1 ICON DISCARDABLE "resources/zeal.ico"
|
||||
|
||||
#define VER_COMPANYNAME_STR "${PROJECT_COMPANY_NAME}"
|
||||
@ -34,7 +36,7 @@ FILESUBTYPE VFT2_UNKNOWN
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
BLOCK "040904E4"
|
||||
BLOCK "040904B0"
|
||||
BEGIN
|
||||
VALUE "CompanyName", VER_COMPANYNAME_STR
|
||||
VALUE "FileDescription", VER_FILEDESCRIPTION_STR
|
||||
@ -51,6 +53,6 @@ BEGIN
|
||||
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
VALUE "Translation", 0x409, 1252
|
||||
VALUE "Translation", 0x0409, 1200
|
||||
END
|
||||
END
|
||||
|
Loading…
Reference in New Issue
Block a user