auto package script

This commit is contained in:
HolographicHat
2022-04-16 00:35:41 +08:00
parent 700cbbb86d
commit a46e49722f
7 changed files with 100 additions and 1 deletions

23
package/version.rc Normal file
View File

@@ -0,0 +1,23 @@
1 VERSIONINFO
FILEVERSION ${MAJOR_VERSION},${MINOR_VERSION},${BID},0
PRODUCTVERSION ${MAJOR_VERSION},${MINOR_VERSION},${BID},0
FILEOS 0x4
FILETYPE 0x1
{
BLOCK "StringFileInfo"
{
BLOCK "000004B0"
{
VALUE "ProductName", "YaeAchievement"
VALUE "ProductVersion", "${MAJOR_VERSION}.${MINOR_VERSION}.${BID}"
VALUE "FileDescription", "YaeAchievement"
VALUE "FileVersion", "${MAJOR_VERSION}.${MINOR_VERSION}.${BID}"
VALUE "OriginalFilename", "${ORIGINAL_NAME}"
VALUE "LegalCopyright", "Copyright (c) ${YEAR} HolographicHat"
}
}
BLOCK "VarFileInfo"
{
VALUE "Translation", 0x0000 0x04B0
}
}