-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
exe version & other details processing by pyinstaller
- Loading branch information
piotrj
committed
Dec 22, 2023
1 parent
17c4615
commit 896fd43
Showing
4 changed files
with
96 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# 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=(0, 0, 0, 0), | ||
prodvers=(0, 0, 0, 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=(1000, 1001) | ||
), | ||
kids=[ | ||
StringFileInfo( | ||
[ | ||
StringTable( | ||
u'040904b0', | ||
[StringStruct(u'CompanyName', u'https://github.com/PJDude/librer'), | ||
StringStruct(u'FileDescription', u'Librer'), | ||
StringStruct(u'FileVersion', u'0.0.0.0'), | ||
StringStruct(u'InternalName', u'Librer'), | ||
StringStruct(u'LegalCopyright', u'Piotr Jochymek 2023'), | ||
StringStruct(u'OriginalFilename', u'librer.exe'), | ||
StringStruct(u'ProductName', u'Librer'), | ||
StringStruct(u'ProductVersion', u'VER_TO_REPLACE')]) | ||
]), | ||
VarFileInfo([VarStruct(u'Translation', [1033, 1200])]) | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# 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=(0, 0, 0, 0), | ||
prodvers=(0, 0, 0, 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=(1000, 1001) | ||
), | ||
kids=[ | ||
StringFileInfo( | ||
[ | ||
StringTable( | ||
u'040904b0', | ||
[StringStruct(u'CompanyName', u'https://github.com/PJDude/librer'), | ||
StringStruct(u'FileDescription', u'Librer-Record'), | ||
StringStruct(u'FileVersion', u'0.0.0.0'), | ||
StringStruct(u'InternalName', u'record'), | ||
StringStruct(u'LegalCopyright', u'Piotr Jochymek 2023'), | ||
StringStruct(u'OriginalFilename', u'record.exe'), | ||
StringStruct(u'ProductName', u'Librer-Record'), | ||
StringStruct(u'ProductVersion', u'VER_TO_REPLACE')]) | ||
]), | ||
VarFileInfo([VarStruct(u'Translation', [1033, 1200])]) | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters