mirror of https://github.com/yt-dlp/yt-dlp.git
[pyinst] Show Python version in EXE metadata (#384)
Authored by: nihil-admirari
This commit is contained in:
parent
89ee4cf8ae
commit
56ce9eb832
|
@ -58,7 +58,9 @@ VERSION_FILE = VSVersionInfo(
|
||||||
),
|
),
|
||||||
StringStruct('OriginalFilename', 'yt-dlp%s.exe' % _x86),
|
StringStruct('OriginalFilename', 'yt-dlp%s.exe' % _x86),
|
||||||
StringStruct('ProductName', 'yt-dlp%s' % _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])])
|
VarFileInfo([VarStruct('Translation', [0, 1200])])
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue