[pyinst] Show Python version in EXE metadata (#384)

Authored by: nihil-admirari
This commit is contained in:
Nil Admirari 2021-06-07 17:32:39 +00:00 committed by GitHub
parent 89ee4cf8ae
commit 56ce9eb832
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,9 @@
),
StringStruct('OriginalFilename', 'yt-dlp%s.exe' % _x86),
StringStruct('ProductName', 'yt-dlp%s' % _x86),
StringStruct('ProductVersion', '%s%s' % (VERSION, _x86)),
StringStruct(
'ProductVersion',
'%s%s on Python %s' % (VERSION, _x86, platform.python_version())),
])]),
VarFileInfo([VarStruct('Translation', [0, 1200])])
]