From 56ce9eb8329916df2568b25b6fd4f9ab8c1bb0c4 Mon Sep 17 00:00:00 2001 From: Nil Admirari <50202386+nihil-admirari@users.noreply.github.com> Date: Mon, 7 Jun 2021 17:32:39 +0000 Subject: [PATCH] [pyinst] Show Python version in EXE metadata (#384) Authored by: nihil-admirari --- pyinst.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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])]) ]