aboutsummaryrefslogtreecommitdiffstats
path: root/pyinst.py
diff options
context:
space:
mode:
authorNil Admirari <50202386+nihil-admirari@users.noreply.github.com>2021-06-07 17:32:39 +0000
committerGitHub <noreply@github.com>2021-06-07 23:02:39 +0530
commit56ce9eb8329916df2568b25b6fd4f9ab8c1bb0c4 (patch)
treebd85b47715d574f8666ea18d3b6e9dc1e91c2c10 /pyinst.py
parent89ee4cf8ae094ac0c0bb9ebee23e5d47ba71f068 (diff)
downloadhypervideo-pre-56ce9eb8329916df2568b25b6fd4f9ab8c1bb0c4.tar.lz
hypervideo-pre-56ce9eb8329916df2568b25b6fd4f9ab8c1bb0c4.tar.xz
hypervideo-pre-56ce9eb8329916df2568b25b6fd4f9ab8c1bb0c4.zip
[pyinst] Show Python version in EXE metadata (#384)
Authored by: nihil-admirari
Diffstat (limited to 'pyinst.py')
-rw-r--r--pyinst.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pyinst.py b/pyinst.py
index 8f24fdaf6..0d8ff73c3 100644
--- a/pyinst.py
+++ b/pyinst.py
@@ -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])])
]