chore: add product version to windows build rc file
This commit is contained in:
@ -94,7 +94,8 @@ file (GLOB PPIC_TS_FILES app/translations/*.ts)
|
|||||||
set (PPIC_CPP_FILES_FOR_I18N ${PPIC_CPP_FILES})
|
set (PPIC_CPP_FILES_FOR_I18N ${PPIC_CPP_FILES})
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
list(APPEND PPIC_RC_FILES assets/pineapple-pictures.rc)
|
configure_file(assets/pineapple-pictures.rc.in pineapple-pictures.rc @ONLY)
|
||||||
|
list(APPEND PPIC_RC_FILES ${CMAKE_CURRENT_BINARY_DIR}/pineapple-pictures.rc)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
add_executable (${EXE_NAME}
|
add_executable (${EXE_NAME}
|
||||||
|
@ -1,17 +1,18 @@
|
|||||||
IDI_ICON1 ICON DISCARDABLE "icons/app-icon.ico"
|
IDI_ICON1 ICON DISCARDABLE "@CMAKE_CURRENT_SOURCE_DIR@/assets/icons/app-icon.ico"
|
||||||
1 VERSIONINFO
|
1 VERSIONINFO
|
||||||
BEGIN
|
BEGIN
|
||||||
BLOCK "StringFileInfo"
|
BLOCK "StringFileInfo"
|
||||||
BEGIN
|
BEGIN
|
||||||
BLOCK "040904E4"
|
BLOCK "040904E4"
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "FileDescription", "Pineapple Pictures - Image Viewer"
|
VALUE "FileDescription", "Pineapple Pictures - Image Viewer"
|
||||||
VALUE "LegalCopyright", "MIT/Expat License - Copyright (C) 2024 Gary Wang"
|
VALUE "LegalCopyright", "MIT/Expat License - Copyright (C) 2024 Gary Wang"
|
||||||
VALUE "ProductName", "Pineapple Pictures"
|
VALUE "ProductName", "Pineapple Pictures"
|
||||||
END
|
VALUE "ProductVersion", "@PROJECT_VERSION@"
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
END
|
||||||
BEGIN
|
BLOCK "VarFileInfo"
|
||||||
VALUE "Translation", 0x409, 1200
|
BEGIN
|
||||||
END
|
VALUE "Translation", 0x409, 1200
|
||||||
END
|
END
|
||||||
|
END
|
Reference in New Issue
Block a user