From 6e5e52df37aafe11b61ae26ddd2b346c81061f54 Mon Sep 17 00:00:00 2001 From: blitzmann Date: Sat, 24 Feb 2018 17:13:50 -0500 Subject: [PATCH] See #1429, version file not currently applied --- dist_assets/win/version_resource.py | 45 +++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 dist_assets/win/version_resource.py diff --git a/dist_assets/win/version_resource.py b/dist_assets/win/version_resource.py new file mode 100644 index 000000000..a5018edd7 --- /dev/null +++ b/dist_assets/win/version_resource.py @@ -0,0 +1,45 @@ +# 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=(1, 15, 1, 0), + prodvers=(1, 15, 1, 0), + # 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=0x40004, + # The general type of file. + # 0x1 - the file is an application. + fileType=0x1, + # 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( + u'040904E4', + [StringStruct(u'LegalCopyright', u''), + StringStruct(u'InternalName', u'pyfa.exe'), + StringStruct(u'FileVersion', u'1.15.1.0'), + StringStruct(u'CompanyName', u''), + StringStruct(u'OriginalFilename', u'pyfa.exe'), + StringStruct(u'ProductVersion', u'1.15.1.0'), + StringStruct(u'FileDescription', u'Python fitting assistant'), + StringStruct(u'LegalTrademarks', u''), + StringStruct(u'Comments', u''), + StringStruct(u'ProductName', u'pyfa')]) + ]), + VarFileInfo([VarStruct(u'Translation', [1033, 1252])]) + ] +)