From 759f0cfb69d1960c247bd175eec188b35135b50b Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Mon, 18 Nov 2024 15:28:17 -0500 Subject: [PATCH] Create version_info.txt.in --- src/version_info.txt.in | 42 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/version_info.txt.in diff --git a/src/version_info.txt.in b/src/version_info.txt.in new file mode 100644 index 00000000..eb4c0cb8 --- /dev/null +++ b/src/version_info.txt.in @@ -0,0 +1,42 @@ +# UTF-8 +# +# For more details about fixed file info 'ffi' see: +# http://msdn.microsoft.com/en-us/library/ms646997.aspx +VSVersionInfo( + ffi=FixedFileInfo( + # filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4) + # Set not needed items to zero 0. + filevers={VERSION_TUPLE}, + prodvers={VERSION_TUPLE}, + # Contains a bitmask that specifies the valid bits 'flags'r + mask=0x3f, + # Contains a bitmask that specifies the Boolean attributes of the file. + flags=0x0, + # The operating system for which this file was designed. + # 0x4 - NT and there is no need to change it. + OS=0x4, + # The general type of file. + # 0x1 - the file is an application. + fileType=0x2, + # The function of the file. + # 0x0 - the function is not defined for this fileType + subtype=0x0, + # Creation date and time stamp. + date=(0, 0) + ), + kids=[ + StringFileInfo( + [ + StringTable( + '040904b0', + [StringStruct('CompanyName', 'GAM-team'), + StringStruct('FileDescription', 'CLI for Google Workspace admins'), + StringStruct('FileVersion', '{VERSION}'), + StringStruct('LegalCopyright', 'Copyright (c) 2024 GAM team'), + StringStruct('OriginalFilename', 'gam.exe'), + StringStruct('ProductName', 'GAM'), + StringStruct('ProductVersion', '{VERSION}')]) + ]), + VarFileInfo([VarStruct('Translation', [1033, 1200])]) + ] +)