Skip to content

Commit

Permalink
Add .exe version info
Browse files Browse the repository at this point in the history
  • Loading branch information
sam210723 committed Feb 18, 2024
1 parent 78af1cf commit 11d711d
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 2 deletions.
32 changes: 32 additions & 0 deletions wavebin/version.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# UTF-8
#
# For more details about fixed file info 'ffi' see:
# http://msdn.microsoft.com/en-us/library/ms646997.aspx
VSVersionInfo(
ffi=FixedFileInfo(
filevers=(3, 0, 0, 0),
prodvers=(3, 0, 0, 0),
mask=0x3f,
flags=0x0,
OS=0x4,
fileType=0x1,
subtype=0x0,
date=(0, 0)
),
kids=[
StringFileInfo(
[
StringTable(
u'040904B0',
[StringStruct(u'CompanyName', u'VKSDR'),
StringStruct(u'FileDescription', u'wavebin'),
StringStruct(u'FileVersion', u'3.0'),
StringStruct(u'InternalName', u'wavebin'),
StringStruct(u'LegalCopyright', u''),
StringStruct(u'OriginalFilename', u'wavebin.x86_64.exe'),
StringStruct(u'ProductName', u'wavebin'),
StringStruct(u'ProductVersion', u'3.0')])
]),
VarFileInfo([VarStruct(u'Translation', [1033, 1200])])
]
)
5 changes: 3 additions & 2 deletions wavebin/wavebin.spec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ exe = EXE(
a.zipfiles,
a.datas,
[],
name='wavebin',
name='wavebin.x86_64',
debug=False,
bootloader_ignore_signals=False,
strip=False,
Expand All @@ -34,8 +34,9 @@ exe = EXE(
console=False,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
target_arch='x86_64',
codesign_identity=None,
entitlements_file=None,
icon='interface/assets/icon-multi.ico',
version='version.rc'
)

0 comments on commit 11d711d

Please sign in to comment.