summaryrefslogtreecommitdiffstats
path: root/bundle/pyinstaller.py
diff options
context:
space:
mode:
Diffstat (limited to 'bundle/pyinstaller.py')
-rwxr-xr-xbundle/pyinstaller.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bundle/pyinstaller.py b/bundle/pyinstaller.py
index db9dbfd..4184c4b 100755
--- a/bundle/pyinstaller.py
+++ b/bundle/pyinstaller.py
@@ -68,7 +68,7 @@ def exe(onedir):
'dist/',
onedir and f'{name}/',
name,
- OS_NAME == 'win32' and '.exe'
+ OS_NAME == 'win32' and '.exe',
)))
@@ -113,7 +113,7 @@ def windows_set_version(exe, version):
),
kids=[
StringFileInfo([StringTable('040904B0', [
- StringStruct('Comments', 'yt-dlp%s Command Line Interface' % suffix),
+ StringStruct('Comments', f'yt-dlp{suffix} Command Line Interface'),
StringStruct('CompanyName', 'https://github.com/yt-dlp'),
StringStruct('FileDescription', 'yt-dlp%s' % (MACHINE and f' ({MACHINE})')),
StringStruct('FileVersion', version),
@@ -123,8 +123,8 @@ def windows_set_version(exe, version):
StringStruct('ProductName', f'yt-dlp{suffix}'),
StringStruct(
'ProductVersion', f'{version}{suffix} on Python {platform.python_version()}'),
- ])]), VarFileInfo([VarStruct('Translation', [0, 1200])])
- ]
+ ])]), VarFileInfo([VarStruct('Translation', [0, 1200])]),
+ ],
))