[cleanup] Misc (#17031)

Closes #17104
Authored by: seproDev, bashonly

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
sepro
2026-07-04 22:14:51 +00:00
committed by GitHub
co-authored by bashonly
parent b6590aaa1e
commit 997fa14084
17 changed files with 48 additions and 6 deletions
+1 -2
View File
@@ -181,8 +181,7 @@ def _get_system_deprecation():
# Do not inappropriately warn for unofficial/third-party binaries
if not ORIGIN.startswith('yt-dlp/'):
return None
platform_name = platform.platform()
if any(platform_name.startswith(f'Windows-{name}') for name in ('8', '2012Server')):
if platform.platform().startswith(('Windows-8', 'Windows-2012Server')):
return (
'Support for Windows 8.x and Windows Server 2012 has been deprecated. '
'See https://github.com/yt-dlp/yt-dlp/issues/16917 for details.\n'