1
mirror of https://github.com/yt-dlp/yt-dlp synced 2024-11-25 17:47:23 +01:00

[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 @@ VERSION_FILE = VSVersionInfo(
),
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])])
]