aboutsummaryrefslogtreecommitdiffstats
path: root/pyinst.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyinst.py')
-rw-r--r--pyinst.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyinst.py b/pyinst.py
index d27e56555..4401125ed 100644
--- a/pyinst.py
+++ b/pyinst.py
@@ -63,7 +63,7 @@ def exe(onedir):
"""@returns (name, path)"""
name = '_'.join(filter(None, (
'yt-dlp',
- OS_NAME == 'darwin' and 'macos',
+ {'win32': '', 'darwin': 'macos'}.get(OS_NAME, OS_NAME),
ARCH == '32' and 'x86'
)))
return name, ''.join(filter(None, (