1# UTF-8
2#
3# For more details about fixed file info 'ffi' see:
4# http://msdn.microsoft.com/en-us/library/ms646997.aspx
5
6VSVersionInfo(
7  ffi=FixedFileInfo(
8    # filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4)
9    # Set not needed items to zero 0.
10    filevers=%(filevers)s,
11    prodvers=%(prodvers)s,
12    # Contains a bitmask that specifies the valid bits 'flags'
13    mask=0x3f,
14    # Contains a bitmask that specifies the Boolean attributes of the file.
15    flags=0x0,
16    # The operating system for which this file was designed.
17    # 0x4 - NT and there is no need to change it.
18    OS=0x4,
19    # The general type of file.
20    # 0x1 - the file is an application.
21    fileType=0x1,
22    # The function of the file.
23    # 0x0 - the function is not defined for this fileType
24    subtype=0x0,
25    # Creation date and time stamp.
26    date=(0, 0)
27    ),
28  kids=[
29    StringFileInfo(
30      [
31      StringTable(
32        u'040904b0',
33        [StringStruct(u'CompanyName', u'MetaBrainz Foundation'),
34        StringStruct(u'ProductName', u'%(name)s'),
35        StringStruct(u'ProductVersion', u'%(version)s'),
36        StringStruct(u'FileVersion', u'%(version)s'),
37        StringStruct(u'InternalName', u'Picard'),
38        StringStruct(u'OriginalFilename', u'picard.exe'),
39        StringStruct(u'FileDescription', u'MusicBrainz Picard Tagger'),
40        #StringStruct(u'LegalCopyright', u'Copyright 2004-2018'),
41        #StringStruct(u'LegalTrademarks', u''),
42        ])
43      ]),
44    VarFileInfo([VarStruct(u'Translation', [1033, 0])])
45  ]
46)
47